Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have this visual (bar and line graph). I want to have the line graph as the QoQ change in % of the value. The quarter end for my companies are Q1: january, Q2: April. Q3: July and Q4: October. Every method I have tried for QoQ has retruned blank or 0. Any advice would be appreciated.
My Calcualted table is:
Solved! Go to Solution.
So I was doing some testing and this seems to work as I want. I created three measures:
1.
I may be wrong but I think that the year-quarter is only being passed as a filter for the columns, not for the line chart as there is only value showing for each company on the line. As the QoQ needs to know the current quarter so that it can calculate the change, it won't work without year-quarter being passed in.
I think that you would need to rethink the chart layout so that year-quarter is on the axis, and maybe the company in the legend. Either that or you'd need a separate chart entirely which shows QoQ% with year0-quarter and value as the axes and company as legend.
So I was doing some testing and this seems to work as I want. I created three measures:
1.
Make sure that your date table is marked as a date table, and then you should be able to use
QoQ % =
VAR CurrentValue =
SUM ( 'Data'[Value] )
VAR PrevValue =
CALCULATE (
SUM ( 'Data'[Value] ),
PARRALELPERIOD ( 'FiscalDateTable'[Date], -3, MONTH )
)
VAR Result =
DIVIDE ( CurrentValue - PrevValue, PrevValue )
RETURN
Result
Thanks! this is getting me on the right track. If i make my visual a matrix its returning the correct values but in a bar/line graph it isnt. Any idea why? If i add it as a tooltip its correct. But I want a visual aspect of it on my visual aswell
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |