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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi,
I have 2 measures for cumulative lines, one for the ACTUAL, one the FORECAST
Cumul Actual = CALCULATE (COUNT(MASTER[Document Reference]); FILTER(ALLSELECTED('MASTER');'MASTER'[Date]<=MAX('MASTER'[Date])); FILTER(ALLSELECTED('MASTER');'MASTER'[Status Date]="Issued")) Cumul Forecast = CALCULATE (COUNT(MASTER[Document Reference]); FILTER(ALLSELECTED('MASTER');'MASTER'[Date]<=MAX('MASTER'[Date])); FILTER(ALLSELECTED('MASTER');'MASTER'[Status Date]="Forecast"))
And t works fine when I display them in a visual:
But I need to display the % in the Y axis.
Note: pencent is the sum of ACTUAL and FORECAST.
Anybody knows how it could be set up ?
Thanks in advance because I'm lost.
Regards,
CR
Solved! Go to Solution.
solved!
I've created additional measures to better understand what I need:
One measure cumuating the values Issued
Cumul Issued = CALCULATE (COUNT(MASTER[Document Reference]); FILTER(ALLSELECTED('MASTER');'MASTER'[Engineering Progress]="Issued"); FILTER(ALLSELECTED('MASTER');'MASTER'[Date]<=MAX('MASTER'[Date])))
One measure cumulating the values Issued and Not Issued (Forecast) (<> "")
Cumul Issued + Forecast = CALCULATE (COUNT(MASTER[Document Reference]); FILTER(ALLSELECTED('MASTER');'MASTER'[Engineering Progress]<>""); FILTER(ALLSELECTED('MASTER');'MASTER'[Date]<=MAX('MASTER'[Date])))
One measure counting all the references (100%)
Cumul - ALL = CALCULATE (COUNT(MASTER[Document Reference]); FILTER(ALLSELECTED('MASTER');'MASTER'[Engineering Progress]<>""))
Then, I created 2 main measures.
One measure cumulating the issued + forecast as percentage
Cumul issued + forecast = [Cumul issued + forecast]/[Cumul - ALL]
One measure cumulating the issued as percentage
Cumul issued = [Cumul issued]/[Cumul - ALL]
Then:
- I applied the format Percentage to these 2 main measures
- I put these 2 main measures in the visual
- I actived the option Show Secondary (Y-axis block)
Regards,
CR
hi, @CR
Do you mean that add a new measure
measure=[Cumul Actual] / [Cumul Forecast]
and then drag it into visual?
If so, [Cumul Actual] and [Cumul Forecast] value is so big but percent value will be very small, It will looks like this:
I suggest you use Line and Column Mixed chart, drag percent value as a column value.
If not your case, please share some sample data with the expected output.
Best Regards,
Lin
@CR what you mean by sum, isn't the % is actual divided by forecast?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Indeed @parry2k but I don't know how to update correctly the measure and / or how to use it in the visual...
solved!
I've created additional measures to better understand what I need:
One measure cumuating the values Issued
Cumul Issued = CALCULATE (COUNT(MASTER[Document Reference]); FILTER(ALLSELECTED('MASTER');'MASTER'[Engineering Progress]="Issued"); FILTER(ALLSELECTED('MASTER');'MASTER'[Date]<=MAX('MASTER'[Date])))
One measure cumulating the values Issued and Not Issued (Forecast) (<> "")
Cumul Issued + Forecast = CALCULATE (COUNT(MASTER[Document Reference]); FILTER(ALLSELECTED('MASTER');'MASTER'[Engineering Progress]<>""); FILTER(ALLSELECTED('MASTER');'MASTER'[Date]<=MAX('MASTER'[Date])))
One measure counting all the references (100%)
Cumul - ALL = CALCULATE (COUNT(MASTER[Document Reference]); FILTER(ALLSELECTED('MASTER');'MASTER'[Engineering Progress]<>""))
Then, I created 2 main measures.
One measure cumulating the issued + forecast as percentage
Cumul issued + forecast = [Cumul issued + forecast]/[Cumul - ALL]
One measure cumulating the issued as percentage
Cumul issued = [Cumul issued]/[Cumul - ALL]
Then:
- I applied the format Percentage to these 2 main measures
- I put these 2 main measures in the visual
- I actived the option Show Secondary (Y-axis block)
Regards,
CR