Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All,
I am new to power BI , i need help in achieving dynamic slicer functionality based on what user want to select to see.
example
, I have salesmetric and dimentions as region and product category.
User should have ability to select dimention to see his sales one at a time.
thanks
SK
Hi @kesanasu,
What did you mean "dynamic slicer functionality"? Please elaborate your scenario with examples.
Based on my assumption, there should be two columns [region] and [product category] in your source table, right? You want to filter data records based on one of them depend on users' need, right?
If so, you could add two slicer into report body, drag [region] into one slicer, drag [product category] into another one. User can choose selection from any one of the two slicers. For example, if selecting region1 from first slicer, and leave the other slicer without any selection, data records will only be filtered according to region1. If specifying values for both of them, then, both of them will affect data records displayed on visual.
In short, Power BI slicer works as tableau's parameter.
Reference: Create and format slicers
Slicers in Power BI service (Tutorial)
Best regards,
Yuliana Gu
If you add those fields (individually) to slicers, when you click on a geography or product category within the slicer, the data will be filtered. So lets say you have a line bar chart that has sales as the value and the x axis is month name. If you click on the geography slicer, the data that is aggregated in the bar chart will get filtered and the reflect the selected geography.
If you follow best practices of creating a star schema data model, then you should break out your geo and product dimensions into their own tables and creating relationships. Then, the only difference from what I described above will be (possibly) making sure that the relationships are bi-directional and that when you add a value to the slicer, it comes from the dimension table and not the fact table.
Hi Thansk for your reply.
I am advance user of tableau, and i am trying to see if there is some thing equivalent to tableau's parameter in power BI
Could you plese help me
Hi @kesanasu,
Have you resolved the problem now? If so, would you please kindly mark the corresponding reply as an answer or sharing your resolution so that it can benefit more users? If you still have any question, please feel free to ask.
Regards,
Yuliana Gu
User | Count |
---|---|
77 | |
76 | |
43 | |
30 | |
26 |
User | Count |
---|---|
97 | |
91 | |
52 | |
47 | |
46 |