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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.