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.
I am tracking the number of applications on any given date over multiple annual cycles using a simple measure:
# Applications State-in-Time = COUNTROWS(Applications)
This measure calculates correctly but causes the separate cycles to be connected by lines when plotted on a Stacked Area Chart, which is messy when legend fields are added:
Any ideas for a DAX measure that would force each cycle to plot separately?
Current (legend removed):
Desired:
Solved! Go to Solution.
inject zero values into your data at the appropriate marks. (this can be done by appending your data table with a manually created table of these zero values).
inject zero values into your data at the appropriate marks. (this can be done by appending your data table with a manually created table of these zero values).
Thanks! You reminded me of adding 0 at the end of the measure. That simple change works well for what I need. Here's my updated measure:
# Applications State-in-Time = COUNTROWS(Applications)+0
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 |
---|---|
47 | |
24 | |
19 | |
14 | |
10 |
User | Count |
---|---|
57 | |
49 | |
44 | |
18 | |
18 |