Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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:
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:
I want a selection box (Dec_CJ or Fec_CJ only) not a slider.
Thank you
att,
Solved! Go to Solution.
Hi @Anonymous,
Do you want to get the slicer like below?
If it is, you could unpivot your columns DEC_CJ and FEC_CJ in Query Editor.
Best Regards,
Cherry
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,
Hi @Anonymous,
Do you want to get the slicer like below?
If it is, you could unpivot your columns DEC_CJ and FEC_CJ in Query Editor.
Best Regards,
Cherry
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,
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
75 | |
69 | |
55 | |
37 | |
35 |
User | Count |
---|---|
86 | |
68 | |
59 | |
51 | |
46 |