Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
shimona
Frequent Visitor

compare two periods in a dynamic way

Hello,
I'm trying to create the next view
In my model I have to compare two periods in a dynamic way
When in each period there are years, quarters, and months
For example, in the first period I choose 2016 in the second period 2017
In the table I should see the following result
[Sales2016], [Sales2017], [(Sales2016) - (Sales2017)]

How can the model be built to have independent Date tables and the data can still be compared?

Thanks.
Capture.JPG

2 REPLIES 2
vanessafvg
Super User
Super User

@shimona there are other ways to compare data, what exactly are you trying to do?

 

for example you can derive previous year values or year - ? value..

 

what exactly are you trying to see by comparing 2 disconnected data sets, essentially they would need to be disconnected i would think otherwise they would filter the other

 

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




thank you for the quick reply,

I need to compare a summary of two values that depend on the period
For example, the third quarter of 2015
         Compared to 2017 Q1

       (the selection should be dynamic)
      And then calculate the ratio between them
The table should contain 3 columns
 sumQ3_2015, sumQ1_2017,(sumQ3_2015 / sumQ1_2017)

How i create model with two calander table Without filtering each other.

 

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors