Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
I am trying to create a new dynamic comparison metric between two table visuals with identical metrics and custom date slicers that create a period A/B view.
Both tables and date slicers reference the same dataset (tableA). I want to create a measure that can calculate the % difference for all metrics between periods A and B, either as a new table or a series of scorecards under the period B table.
For simplicity, I am only using Cost and Date from the table to create these different periods for comparison.
I am not a DAX expert, so I am running into issues with creating my measure since it relies on the same data set. The closest I got was by duplicating my dataset (tableA (1)) so that I could reference the same metric in my calculation, i.e. %_Change_Cost=(SUM(('tableA'[Cost])/('tableA (1)'[Cost]))-1. But when the date filters do not overlap, the calculation breaks.
Thank you!
Solved! Go to Solution.
@Anonymous , BAsed on what I got, You need a set of independent tables
Refer this was done using interaction
How Interactions Work- Split Page using interactions to compare - https://youtu.be/GIfRKzhMaR4
same thing using two sets of slicer
Compare Categorical Data Using Slicers - Compare two Brands: https://youtu.be/exN4nTewgbc
How to use two Date/Period slicers
@Anonymous , BAsed on what I got, You need a set of independent tables
Refer this was done using interaction
How Interactions Work- Split Page using interactions to compare - https://youtu.be/GIfRKzhMaR4
same thing using two sets of slicer
Compare Categorical Data Using Slicers - Compare two Brands: https://youtu.be/exN4nTewgbc
How to use two Date/Period slicers
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 44 | |
| 38 | |
| 34 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 65 | |
| 30 | |
| 26 | |
| 25 |