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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Chari
Frequent Visitor

How to set Slicer values based on another slicer value selection

I have two Slicer In first is values, and Second slicer is range.

Chari_0-1729508276717.png

ValuesRange
Value11 to 30
Value21 to 7
Value31 to 20


if we select Value as Value1, the range slicer should show 1 to 30.
 Value as Value2, then range slicer should show 1 to 7.
 Value as Value3, then range slicer should show 1 to 100.



-->The Range value is showing based on Values selection, but if i slect value3 and range 20. then if i chenge Values slicer to Valie2, it throwing an error, why because we don't have 50 Range in Value2.

Chari_1-1729508857047.png


Note: whatever range we selected in Range Slicer, all Values should display in Values slicer.

 

 

3 REPLIES 3
v-yiruan-msft
Community Support
Community Support

Hi @Chari ,

Whether your problem has been resolved? If yes, could you please mark your post as Answered? It would be helpful for the others in the community if they face the similar problem as yours. Thank you.

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yiruan-msft
Community Support
Community Support

Hi @Chari ,

Base on your provided info, it seems the table visual can't work properly when check different slicer selections. Could you please provide the following info for further troubleshooting?

1. Please provide the error details by clicking "See details" link

vyiruanmsft_0-1729586584908.png

2. Are the fields which applied on Values slicer and Range slicer from the same table?

3. Could you please share a simplified pbix file? You can refer the following link to upload the file to the community: How to upload PBI in Community

Best Regards

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

Hi @Chari 

 

In my case, the slicers for Value and Range are working as expected, and I’m not encountering any errors as shown in the attached images. It might be an issue specific to your version or dataset.

 

Image_2.PNG

Image_1.PNG

Image_3.PNG

Image_4.PNG

 

Could you please share some sample data, so I can take a closer look.

 

Best Regards,
Muhammad Yousaf

 

LinkedIn

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors