1

I need to first group by my data by date and then calculate second quartile. I used the function SUMMARIZE() But I cannot refer the virtual table column as an argument in the PERCENTILE.INC() and gives below error

`

MyPercntile= 
var tbl_group=SUMMARIZE(site,site[تاريخ],"summm",
CALCULATE(sum(site[حجم معامله به تن]))
)

var bb=PERCENTILE.INC(tbl_group[summm],0.2)
return 
bb

error is Table variable 'tbl_group' cannot be used in current context because a base table is expected.

What should be done for functions that only have to pass columns?

1
  • Is this no longer solved? Commented Sep 11, 2024 at 20:28

1 Answer 1

0

Use the iterator function instead (with an X on the end).

PERCENTILEX.EXC

https://dax.guide/percentilex-exc/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.