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
Dz6kb4
Frequent Visitor

Dynamic sets of images based on filter

Hi all.

 

i couldn't find an exact answer to my question on the search. I'm basically looking for a way to dynamically display a range of images depending on a filter selected.

 

for example, if I have a report on foods I might have a food filter including meat, fish, veg.

 

when I select meat I want to show an image of chicken, pork and beef with a total calorie per 100g under each one.

if I then select fish I want to dynamically remove the meat images and replace with tuna and salmon images and their associated calorie counts.

 

is this at all possible?

many thanks.

2 ACCEPTED SOLUTIONS
Vvelarde
Community Champion
Community Champion

Hi @Dz6kb4,

Yes. Based on Vvelarde's sample data, you would need to have one of the amount eaten records in table for each month of the year as shown in the following screenshot.
4.PNG

However, to better manage your tables, I would recommend you separate the Food table to two tables,  then create relationship between the two tables using type field. For more details, please review the modified PBIX file.
1.PNG2.PNG

 


Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

17 REPLIES 17

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.