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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Cobra77
Post Patron
Post Patron

mapping table that controls 2 dimensions ?

Hi

We are currently collecting data on O365 usage via the Graph APIs, from several tenants.
We have 2 reference axes, to find where the user is from his username, sometimes he is in the 2 axes and therefore the 2 foreign keys are filled in.

 

Cobra77_0-1663071570277.png

We seek to put above these 2 repositories a common axis, knowing that the data does not necessarily correspond to the same level on each side, how to consider the thing?
Example:
A axis; Level A; B axis; Level B; Power BI slicer label
USA; 1; America ; 2; UNITED STATES

If we choose united states , let it filter on level 1 of axis A USA , and on level 2 of axis B America.

Knowing that if we try to link the mapping table to the 2 axes one will necessarily be inactive ?

With Dax ? without linking the mapping table ?
and is it possible to map on several levels, for example by states, region after?

Thanks for your help and advice

 

1 REPLY 1
v-easonf-msft
Community Support
Community Support

Hi, @Cobra77 

You can try  TREATAS function to create virtual relationships in DAX when a relationship does not exist.

Related thread:

https://www.sqlbi.com/articles/propagate-filters-using-treatas-in-dax/ 

TREATAS - DAX Guide 

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

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.