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

Don'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.

Reply
Anonymous
Not applicable

How filter a data stacked column with button shape ?

Hi all,

 

I'd like to know how can i filter a data in a stacked column using data segmentation. This is my database and visual: visual.JPGdatabase.JPG

 

How can i filter just DEC_CJ or FEC_CJ using a filter like a data segmentation (selection box).

I tried to use but this was the result:

result.JPG

I want a selection box (Dec_CJ or Fec_CJ only) not a slider.

 

Thank you

att,

2 ACCEPTED SOLUTIONS
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

Do you want to get the slicer like below?

 

slicer.PNG

 

If it is, you could unpivot your columns DEC_CJ and FEC_CJ in Query Editor.

 

Untitled.png

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
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

Anonymous
Not applicable

Thank you @v-piga-msft I already solved using a measure:

 

I created a table with only DEC_CJ and FEC_CJ values for filtering and created a new measure

 

if(selectedvalue([DEC_CJ]) = "DEC"; sum(DEC_CJ); if(selectedvalue(FEC_CJ) = "FEC"; sum(FEC_CJ); blank() )

 

something like this.

 

But your answser should solve the problem too.

 

Thanks very much for support.

 

Att,

View solution in original post

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

Do you want to get the slicer like below?

 

slicer.PNG

 

If it is, you could unpivot your columns DEC_CJ and FEC_CJ in Query Editor.

 

Untitled.png

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thank you @v-piga-msft I already solved using a measure:

 

I created a table with only DEC_CJ and FEC_CJ values for filtering and created a new measure

 

if(selectedvalue([DEC_CJ]) = "DEC"; sum(DEC_CJ); if(selectedvalue(FEC_CJ) = "FEC"; sum(FEC_CJ); blank() )

 

something like this.

 

But your answser should solve the problem too.

 

Thanks very much for support.

 

Att,

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.