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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Use of dynamic measures

image.png

Measures

Count Cafe Coffee = COUNT(Coffee[Cafe Coffee])
Count Home Coffee = COUNT(Coffee[Home Coffee])
Count None of these Coffee = COUNT(Coffee[None of these])
Count Office Coffee = COUNT(Coffee[Office Coffee])
Count On-the-go Coffee = COUNT(Coffee[On-the-go Coffee])
 
Dynamice Measure
Dynamic Measure Places =
SWITCH (
    SELECTEDVALUE ( 'Select Places'[Select Places] ),
    "Home Coffee", Coffee[Count Home Coffee],
    "Cafe Coffee",Coffee[Count Cafe Coffee],
    "Office Coffee",Coffee[Count Office Coffee],
    "On-the-go",Coffee[Count On-the-go Coffee],
    "None Of these",Coffee[Count None of these Coffee]
)
Parameter
Select Places = {
    ("Home Coffee", NAMEOF('Coffee'[Count Home Coffee]), 0),
    ("Cafe Coffee", NAMEOF('Coffee'[Count Cafe Coffee]), 1),
    ("Office Coffee", NAMEOF('Coffee'[Count Office Coffee]), 2),
    ("On-the-go Coffee", NAMEOF('Coffee'[Count On-the-go Coffee]), 3),
    ("None of these Coffee", NAMEOF('Coffee'[Count None of these Coffee]), 4)
}
I have created Individual measures->Dynamic Measures and created Parameter 
when i select any of the places from the slicer it should display that particular chart only 
for instance when i select Home Coffee then it should Display the same chart of Home Coffee just as it is in the image; when i select Cafe Coffee it should Display the same chart of Cafe Coffee just as it is in the image and the same for the rest of the two
in short one slicer one chart 
i dont know how should i do it 
Can anyone help me with this query ?
1 ACCEPTED SOLUTION
some_bih
Super User
Super User

Hi @Anonymous check link for bookmarks and another one 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






View solution in original post

2 REPLIES 2
some_bih
Super User
Super User

Hi @Anonymous check link for bookmarks and another one 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Anonymous
Not applicable

thank so much @Some_bih for the solution 🙂

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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