Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hi!
I'm trying to create a chart with rolling quarter. I'm stuck. Today is Q1 but I want to present the graph as let's say you are in December it should display 4 bars Q4, Q1, Q2, Q3 in that order. I've Googled and haven't find anything. Any help where to look or how to go about it?
/Magnus
Solved! Go to Solution.
Drag [Date] to Axis, expand to the Quarter level and add measure below. It takes advantage of Show Categories With No Data.
Measure = VAR d = MIN ( 'Calendar'[Date] ) VAR n = DATEDIFF ( d, TODAY (), QUARTER ) RETURN IF ( n >= 1 && n <= 4, 1 )
Drag [Date] to Axis, expand to the Quarter level and add measure below. It takes advantage of Show Categories With No Data.
Measure = VAR d = MIN ( 'Calendar'[Date] ) VAR n = DATEDIFF ( d, TODAY (), QUARTER ) RETURN IF ( n >= 1 && n <= 4, 1 )
I'll give it a shot although I don't know if that is what I'm after.
Any progress, feel free to share with us.
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
111 | |
110 | |
110 | |
93 | |
61 |
User | Count |
---|---|
171 | |
139 | |
133 | |
103 | |
86 |