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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
JEM_Systems
Helper I
Helper I

Calculate the variation between 2 filtered numbers

Hi, I'm trying to calculate a variation between two numbers, the first number is only interacting with the first slicer, the second number is interacting with just the second slicer; I'm trying to calculate the diferences between them but it's giving me just Blank.

 

JEM_Systems_0-1702499468109.png

 

1 ACCEPTED SOLUTION

I solved the problem creating 2 calendar tables, each one for each slicer, and did a relationship between the calendar tables and the fact table using a inactive relationship. On the DAX formula I used USERELATIONSHIP() to solve the problem.

View solution in original post

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

Share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Already did it, thank you!

Alreay did what?  Where is the file?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

I solved the problem creating 2 calendar tables, each one for each slicer, and did a relationship between the calendar tables and the fact table using a inactive relationship. On the DAX formula I used USERELATIONSHIP() to solve the problem.

JEM_Systems
Helper I
Helper I

@amitchandak could you help me?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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