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 below measure running very slow specialy for monthly and yearly period:
Thanks @johnt75 , your dax return the correct order number, but the value of below
returns the value at the order number level, not the running total as in below screenshot.
I need to display this measure in a card visual, your measure will show 0, mine will show 388,635.
Try changing it to
FILTER ( NewTable, 'Sales Order Details'[Order Number] <= MaxOrder ),
Just a bit of correction.
that would show the cummulative value, that is not what I what want, I need the value of the difference up to the maximum order number.
Try
Constrained DIF MISS =
VAR NewTable =
FILTER (
VALUES ( 'Sales Order Details'[Order Number] ),
[Constrained DIF Flag] = "Yes"
)
VAR MaxOrder =
MAXX ( NewTable, [Order Number] )
RETURN
SUMX (
FILTER ( NewTable, 'Sales Order Details'[Order Number] = MaxOrder ),
[Qty Ordered Running Total OrderNo] - [Qty Shipped Running Total OrderNo]
)
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 |
---|---|
107 | |
98 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |