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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

not able to achieve slicer

i am having meaures column in %

ID Value

A  10

b   20                                      so slicer should show two categories A 

c    30                                                                                                 B

d    40

e    50

f     60

 

if(value >30 ,value<50,"A","B")

But i am getting only one value in slicer ,how to achieve two values in slicer

1 ACCEPTED SOLUTION

@Anonymous ,

 

Check if it is affected by other Slicers, Page level filters and Report level filters.

Community Support Team _ Sam Zha
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

6 REPLIES 6
AkhilAshok
Solution Sage
Solution Sage

Does the ID and Value corresponds to the Table columns? If yes, then create a calculated column with similar logic as you mentioned should work for a slicer:

Category = IF(Table[Value]>30 && Table[Value]<50, "A", "B")
Anonymous
Not applicable

i am trying same query on dummy data i am abe to achieve,while i am applying business data ,failed to achieve

 

any alternative like creating table with two row A  and B and and doing some calculation

@Anonymous ,

 

Check if it is affected by other Slicers, Page level filters and Report level filters.

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

Are you sure there are values in your Business data which falls in both the categories?

Anonymous
Not applicable

Yes ,for example we have to make like that ,if value>80 show as  "A" else "B"

Anonymous
Not applicable

i tried even though i am gettting single value in slicer

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.