Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
This shows correct Day Values but wrong Total
Variance vs. Fin Fcst $ =
IF ( ISBLANK ( [Actual] ), BLANK (), [Actual] - [Financial Forecast] )
This shows correct Total but wrong days
Variance vs. Fin Fcst $ 2 =
SUMX (
'Calendar',
IF ( ISBLANK ( [Actual] ), BLANK (), [Actual] - [Financial Forecast] )
)
Actual is off this FACT table ‘Daily Sales POS’
Financial Forecast this is off FACT table ‘SalesProj’
I cannot get the total to come out correctly using SUMX because the 2 values are based off of 2 different table tables.
Solved! Go to Solution.
I think adding some logic to check for the total row will help you pull these things together.
Here is a video from Pragmatic Works about this: How to Solve the Total Row with DAX in Power BI Desktop - YouTube
Code:
IF(HASONEVALUE(Calendar[Date]), [Actual] - [Financial Forecast],
SUMX('Calendar', [Actual] - [Financial Forecast])
)
I think adding some logic to check for the total row will help you pull these things together.
Here is a video from Pragmatic Works about this: How to Solve the Total Row with DAX in Power BI Desktop - YouTube
Code:
IF(HASONEVALUE(Calendar[Date]), [Actual] - [Financial Forecast],
SUMX('Calendar', [Actual] - [Financial Forecast])
)
Hi @pokdbz,
Thank you for reaching out to Microsoft Fabric Community.
Thank you @d_m_LNK for the prompt response.
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the user resolved your issue? or let us know if you need any further assistance.
If any response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.
Thanks and regards,
Anjan Kumar Chippa
Hi @pokdbz,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the user resolved your issue.
If any response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.
Thanks and regards,
Anjan Kumar Chippa
Hi @pokdbz,
We wanted to kindly follow up to check if the solution provided by the user resolved your issue.
If any response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.
Thanks and regards,
Anjan Kumar Chippa
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |