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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi
I would like to show a measure that would show a measure that would show the % change between the value today in one table against a value today in another table.
Thanks
Solved! Go to Solution.
Hi @Anonymous
If your data model is using a Star Schema and a date table then this can be achieved. The date table date column should have a one to many relationship with "Sales Date" in your two tables.
Create two measures
Sales = SUM(Table1[Amount])Sales_2 = SUM(Table2[Amount])
Now to work out the % difference
% Difference =
VAR _Diff = [Sales] - [Sales_2]
RETURN
DIVIDE(_Diff, [Sales_2])
If you add the date column from the date table to a visual and then the last measure, then you will see the % difference
Hope this helps
Joe
Proud to be a Super User! | |
Date tables help! Learn more
Hi @Anonymous
If your data model is using a Star Schema and a date table then this can be achieved. The date table date column should have a one to many relationship with "Sales Date" in your two tables.
Create two measures
Sales = SUM(Table1[Amount])Sales_2 = SUM(Table2[Amount])
Now to work out the % difference
% Difference =
VAR _Diff = [Sales] - [Sales_2]
RETURN
DIVIDE(_Diff, [Sales_2])
If you add the date column from the date table to a visual and then the last measure, then you will see the % difference
Hope this helps
Joe
Proud to be a Super User! | |
Date tables help! Learn more
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!