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
I have created two DAX quick meassures, one for YoY% change and one for MoM% change. the former returns a value all right, the later does not. the problematic meassure is below (didn't change anything, straight out of the quick meassure).
How can I do a "walkthrough" the meassure and see what it tries to calculate and why it does not return any values? Something like the "evaluate formual" functionality in EXCEL.
Licenses MoM% =
IF(
ISFILTERED('O365LicenseReport'[OrderCreationDate]),
ERROR("Time intelligence quick measures can only be grouped or filtered by the Power BI-provided date hierarchy or primary date column."),
VAR __PREV_MONTH =
CALCULATE(
SUM('O365LicenseReport'[Licenses]),
DATEADD('O365LicenseReport'[OrderCreationDate].[Date], -1, MONTH)
)
RETURN
DIVIDE(SUM('O365LicenseReport'[Licenses]) - __PREV_MONTH, __PREV_MONTH)
)
Solved! Go to Solution.
@v-jiascu-msft wrote:Hi @Anonymous,
The MoM% needs a month context. We can't see any such context from the snapshot. Can you share a sample of your data?
Best Regards,
Dale
you are right. once I've drilled down to a monthly level I started seeing numbers. however I would have expected that even in that "single point"chart, it would have returned the current vs last_month delta.
anyways, thanks
Hi @Anonymous,
The MoM% needs a month context. We can't see any such context from the snapshot. Can you share a sample of your data?
Best Regards,
Dale
@v-jiascu-msft wrote:Hi @Anonymous,
The MoM% needs a month context. We can't see any such context from the snapshot. Can you share a sample of your data?
Best Regards,
Dale
you are right. once I've drilled down to a monthly level I started seeing numbers. however I would have expected that even in that "single point"chart, it would have returned the current vs last_month delta.
anyways, thanks
@Anonymous For that I recommend you try DAX Studio, is a free software that evaluates DAX expressions
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 |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |