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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello,
I am trying to calculate the weight of the sales per quarter and half fiscal year (considering the whole FY). For that I want to divide the sales of the time period by the total sales of the FY.
To calculate the sales of the time period I just do :
=sum( 'Sales consolidated'[Sales $])
and then use my dates table in the pivot table to show the half and quarter.
The issue is with the total sales of the FY. After research I tried this formula :
=CALCULATE( sum( 'Sales consolidated'[Sales $]), FILTER( Dates, Dates[FY] = "FY23"))
I believed it worked but it doesn't, when I'm using it in my pivot I don't have the value of the whole fiscal year when I'm looking at quarter or half level (I have the correct value for the total though). I woul like to "freeze" this total value so I can use it when looking at quarter/half level to calculate the weight.
Hope it is clear, thanks a lot in advance.
Solved! Go to Solution.
@AnonymeC Try:
Measure = CALCULATE( sum( 'Sales consolidated'[Sales $]), FILTER( ALL(Dates), Dates[FY] = "FY23"))
To give you a better idea the pivot table should look like this :
Column labels | |||||||||
H1 | H2 | total (=Full FY) | |||||||
Row labels | Sales $ | Total Sales | Weight | Sales $ | Total Sales | Weight | Sales $ | Total Sales | Weight |
Category A | 12000 | 20000 | 60% | 8000 | 20000 | 40% | 20000 | 20000 | 100% |
Category B | 25000 | 50000 | 50% | 25000 | 50000 | 50% | 50000 | 50000 | 100% |
@AnonymeC Try:
Measure = CALCULATE( sum( 'Sales consolidated'[Sales $]), FILTER( ALL(Dates), Dates[FY] = "FY23"))
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
13 | |
11 | |
10 | |
10 |