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 guys, I have trouble when making cumulative charts, please see below figure:
As you can see, since there is no blue data after 2020 Q2, so the blue line stopped at Q2 and did not extend to the present.
Here is the formula I used to generate the line:
**bleep** COUNTS =
CALCULATE(
COUNT('ABC'[Attribute]),
FILTER(
ALLEXCEPT('ABC','ABC'[Attribute]),
ISONORAFTER('ABC'[Date/Time (Quarter)], MAX('ABC'[Date/Time (Quarter)]), DESC)
)
)
Can someone help me out on this? I have been struggling on this one for days, thanks!
Hi @dkao ,
Can you provide me with some dummy data?
I think you want to fill down measure, right?
Here's a similar posts:
Solved: Dax Measure Fill Down Value - Microsoft Power BI Community
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@dkao , Join date of your table with a date of date table and then try measure like this with columns from date table on axis(like qtr year etc )
**bleep** COUNTS =
CALCULATE(
COUNT('ABC'[Attribute]),
FILTER( allselected('Date')
ISONORAFTER('Date'[Date], MAX('Date'[Date]), DESC)
), ALLEXCEPT('ABC','ABC'[Attribute])
)
or
**bleep** COUNTS =
CALCULATE(
COUNT('ABC'[Attribute]),
FILTER( allselected('Date')
ISONORAFTER('Date'[Date], MAX('Date'[Date]), DESC)
)
)
Hi @amitchandak , I just tried your first part of the code and it became like this:
The second doesn't work either😅
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 |
---|---|
105 | |
96 | |
79 | |
67 | |
62 |
User | Count |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |