Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello All,
I want to create Slicer visuals based on columns retuned in data.
For example:
As shown in below image, I have fields like AreaLevel1, AreaLevel2, AreaLevel3 etc..
Most time these columns have values upto level 3 but sometimes AreaLevel4 or AreaLevel5 might have values.
I want to determine first if column has any nonNull value which makes it eligible column for this case.
I want to create Slicers on page for each column that has values.
Kindly help.
Solved! Go to Solution.
Hi @Anonymous
We can't create dynamic slicers in Power BI. To create Slicers you need to Drag drop Columns into Report canvas. So, fields will always be shown even all are Null or NonNull values.
Thanks
Ankit Jain
Do Mark it as solution if the response resolved your problem. Do Kudo the response if it seems good and helpful.
Hi @Anonymous
We can't create dynamic slicers in Power BI. To create Slicers you need to Drag drop Columns into Report canvas. So, fields will always be shown even all are Null or NonNull values.
Thanks
Ankit Jain
Do Mark it as solution if the response resolved your problem. Do Kudo the response if it seems good and helpful.
Yes that I am aware of. I was just wondering if there was a way.
Thanks for your time
@AnkitBI Thanks for your time Ankit.
I actually got an alternate solution. and I am puttint it here so others can use it.
I am using this custom visual for Slicers which let me put multiple fields in slicers as hierarchy and also gives flexibility to hide empty columns.
As displayed in image, it shows only 5 columns but actually there wer 15 columns added in field well (totally emptry columns are not displayed)
Hello @AnkitBI
I am using HierarchySlicer from https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380820
Ok. Then the answer is "NO", not possible to create dynamic slicers
User | Count |
---|---|
116 | |
73 | |
60 | |
48 | |
48 |
User | Count |
---|---|
171 | |
122 | |
60 | |
59 | |
56 |