Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All,
I can able to create previous day value in import mode but i couldn't able to perform rankx operation in direct query mode.
How to get previous month value in another column in direct query mode?
Thanks
Solved! Go to Solution.
Hi @Anonymous ,
We can use EDATE function to work on it. Please refer to the formula as below.
Measure = var a = EDATE(MAX('Product'[SalesDate]),-1)
return
CALCULATE(SUM('Product'[Quantity]),FILTER(ALL('Product'),'Product'[SalesDate] = a))
Hi @Anonymous ,
We can use EDATE function to work on it. Please refer to the formula as below.
Measure = var a = EDATE(MAX('Product'[SalesDate]),-1)
return
CALCULATE(SUM('Product'[Quantity]),FILTER(ALL('Product'),'Product'[SalesDate] = a))
Have you checked this:
go to file->options and settings -> options under direct query, select "allow unrestricted measures"
Please go through the link below for more information :
https://blog.crossjoin.co.uk/2017/05/09/dax-functions-directquery-and-unrestricted-measures/
You can also try ranking them in TOPN Visual level filters or in the SQL Query itself.
Thanks,
Nishanth.
Hi @Anonymous ,
That options is not showing up for me.
go to file->options and settings -> options under direct query, select "allow unrestricted measures"
Thanks
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
100 | |
88 | |
68 | |
61 |
User | Count |
---|---|
152 | |
120 | |
102 | |
87 | |
68 |