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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
beginner
Helper I
Helper I

How to retrieve data with multiple location filters when having region and location in the column?

My dataset is working based on location filter and every page has sync filters. Comment per location work fine however whenever I try the region filter for "North America" it does not retrieve region comment's and bring cumulative comments for 3 locations instead of "North America" region's comment. Is there a way to better design or bring region comments when region is picked from the slicer.  Btw, could not find a way to upload my file so I put the screenshots instead. Please let me know if there is a way to upload file instead. 

 

commentss.png

locationss.png

relationshi.png

location view.png

2 REPLIES 2
beginner
Helper I
Helper I

Thanks for the input however I want to display "Good IT Performance" when North America is picked for region instead of displaying 3 records per site. I don't know how but feel like lookupvalue should have been the other way. 

bharath_v
Resolver I
Resolver I

Hi @beginner 

 

You can lookup the comments from other table using LOOKUPVALUE DAX as below:

Comment_Lookup = LOOKUPVALUE(Comments[Comment], Comments[Location], Location[Location])
 
I got the desired output:
bharath_v_0-1678446273275.png

 

Hope this helps!

If I answered your question then mark my post as "Accept it as the solution" and a kudo would be appreciated.


Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors