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.
Hi,
I'm new in power bi. Wondering are there anyway to get the difference from the sum of month1 and sum of month 2.
I use the measure: diff = [Sum of Month 2]-[Sum of Month 1]
I have edit the interactions of the filter, not sure is this the issue causing blank for the difference.
Hope any can help me this issue.
Thanks so much for the help.
Kind regards.
Solved! Go to Solution.
By reading that, this should be caused by the bidirectional relationship of the two calender tables.
Although this may be be optimal (since I don't know if it is essential for you to keep the relationship between the calender table and water flow monthly)I, I think you can remove the relationship between that two calender tables, and then create another calender table. This should make you having 3 calender tables.
And then use that 2 standalone calender table in your slicers and DAX.
Please see if that works.
Hi @johnyip
The dax are
@qwerttty Can you show the relationships of the tables?
By reading that, this should be caused by the bidirectional relationship of the two calender tables.
Although this may be be optimal (since I don't know if it is essential for you to keep the relationship between the calender table and water flow monthly)I, I think you can remove the relationship between that two calender tables, and then create another calender table. This should make you having 3 calender tables.
And then use that 2 standalone calender table in your slicers and DAX.
Please see if that works.
Hi @johnyip,
Thanks for your help after I create another calendar table.
It works for me.
Kind regards.
Hi @johnyip ,
Thanks for your help.
After standalone those calendar, I get a 0 for the difference, but it suppose be coming out value. Below are the relationship table
Thanks for your help.
Kind regards.
Hello @qwerttty ,
To get difference between dates, use DATEDIFF DAX function and create your measure as per your need like to calculate DAYS/MONTHS/YEARS
Dates Difference = DATEDIFF(Date1, Date2,Duration)
If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!
Hi @Kishore_KVN,
Thanks for the recommendation,
however, I not need to get the different between two dates.
I would like to get the amount from the selected date and find the difference of the amount between two selected date.
Thanks for your help.
Kind regards.
What is the DAX of [Sum of Month 1] and [Sum of Month 2]?
Hi @johnyip,
Thanks for your help.
The dax are
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.