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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors