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
Adeline
Frequent Visitor

Filtre with a non active relation table

Hello everyone

 

I have a problem to calculate a KPI related to dates 

 

1er Part :

  • generate CA 
  • generate CA (N-1) : le N-1 but with a particularity for exemple  for CA(year=2022) i want to compare it to CA(year=2018)
  • my CA SC FINAL in based on a date table DIM_DATE to be able to change the date independfly from the main date table DIM_TEMPS : The script to generate by CA is in the screenshot
  • THE DIM_COMPARABILITY was genertaed for this purpose but the result doesnt work since (even with a direct relationshio on my FT_Sales ) i have CA = CA SC decomp

Adeline_0-1679054958530.png

 

Capture d’écran 2023-03-17 131500.jpg

2ème Part

  • The filter of Senario comparabilité doesnt work on my CA wich means my table DIM_COMPARABILITY can not filter my CA and i dont understand why
  • On the scrrenshot you can see the DIM_COMPARABILITY and the table i need to use : screenshot below
  • my CA based on DIM_TIME uses a no direct relationship with CA 

DIM COMPARABILITEis an inactive relationship

 CA uses TREATAS to call the DIM COMPARABILITY table 

  • i tried to use SWIICTH ( SELCTED VALUE ) on the colomn  Scenario comparabilite buy i have an error with  mode TRUE / FALSE on this table 

Adeline_2-1679054958550.png

0 REPLIES 0

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