Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
I have a calculation that is showing the historic value or the future value based on the current month, this is also giving me correct row totals. However, the column total is not correct when summing across all the months.
Is there a different way to achieve what I've done? I think it's the 'max' in the first calculation that is causing the problems when aggregated over the entire time period.
Here is my current measure:
VAR ForecastValue =
IF (
MAX ( 'Calendar'[YearWeekNr] ) < [Today (Week)],
[Sales (MU)],
[Forecast Quantity (MU)]
) + 0
RETURN
IF (
HASONEVALUE ( 'Calendar'[YearWeekNr] ),
ForecastValue,
if( HASONEVALUE('Product'[pt_part]), SUMX ( summarize ('ISS-S0 & RCT-SOR & ORD-SO - 600 (Transactions)','Product'[pt_part],'Calendar'[YearWeekNr]), ForecastValue ),
SUMX ( VALUES ( 'Calendar'[YearWeekNr] ), ForecastValue )
))
Many thanks for any help and assistance you can offer.
Kind Regards,
Dayna
Solved! Go to Solution.
@Dayna hey, check this great video for reference:
https://www.youtube.com/watch?v=DKgF-5QHY68
Great video, thanks!!
@Dayna my pleasure 🙂
Hey, check out my showcase report - got some high level stuff there 🙂
https://community.powerbi.com/t5/Data-Stories-Gallery/SpartaBI-Feat-Contoso-100K/td-p/2449543
Give it a thumbs up over there if you liked it 🙂
@Dayna hey, check this great video for reference:
https://www.youtube.com/watch?v=DKgF-5QHY68
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
76 | |
75 | |
43 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |