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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
qmestu
Helper III
Helper III

How to connect this specific set of data

Hello,

 

I have the following tables:

 

data table:

IDC1C2C3D1D2NAT
1AB    
2BCD   
3A     
4B     
5   Z  
6    X 
7     1
8     1

 

geo table:

LocationCodeLocationSubLocation
1 A
2 B
3ZC
4 D
5 E
6XG
7 NAT

 

I have a slicer that lists the location and when i choose a location, i want to filter my main table through the columns of C1 to C3 and NAT. I've tried unpivoting the C1 C2 and C3 columns and using that as an intermediate table to connect all of the tables, but i'm not sure how i can do the same with the NAT and D1,D2 columns.

 

Thank you.

1 REPLY 1
lbendlin
Super User
Super User

 I've tried unpivoting the C1 C2 and C3 columns and using that as an intermediate table to connect all of the tables, but i'm not sure how i can do the same with the NAT and D1,D2 columns.

Do the same - unpivot everything except the ID column.  Then in DAX you can implement the logic that checks for either location or sublocation matches.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.