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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
MuppetyMe
Helper I
Helper I

Slicer Help - Categorizations

Looking for assistance creating a slicer for a set of data, but I'm not even sure it's possible. Below is my sample set. 

 

I want my slicer to have two options: "Pipeline" and "Revenue". This slicer is intended to filter a stacked bar chart where X axis = Month, Y axis = Amount, Legend = Status. 

 

The catch: all rows are Pipeline, but only rows with "Won" in the Status column are Revenue.

 

Initially, I created a new column:  

Pipeline or Revenue Text = IF(Table[Status] = "Won", "Revenue", "Pipeline")
... but I need the Won Amount to be included in Pipeline too so this doesn't work. 

 

I feel like I'm overlooking something super obvious (apologies in advance if that's the case). I understand that making Status a slicer would work, but that's not the direction we need to go. Anyone have thoughts on how to accomplish this? 

 

Table

DateIDStatus Amount 
1/14/202512172Lost$24,833.12
1/21/202512173Lost$2,174.00
2/1/202512174Won$35,488.14
2/3/202512175In Process$12,446.85
2/17/202512176Won$24,688.10
2/22/202512177Won$1,354.00
3/14/202512178In Process$841.68
3/22/202512179Lost$54,887.25
3/23/202512180In Process$899.16
4/5/202512181In Process$35,748.00
4/17/202512182Lost$22,488.30
4/25/202512183Won$5,168.00
5/1/202512184In Process$4,721.10
5/12/202512185In Process$31,864.57
5/20/202512186Won$23,458.00
5/25/202512187Won$2,435.45

 

For illustration purposes, here's the gist of what I'm looking for: 

MuppetyMe_0-1751313411914.png

 

2 ACCEPTED SOLUTIONS
MFelix
Super User
Super User

Hi @MuppetyMe ,

 

Create a disconnected table with the two values:

Pipeline

Revenue

 

Then add the following measures:

Total = SUM('Table'[ Amount ])


total Values = 

SWITCH(
    TRUE(),
         SELECTEDVALUE('Type Selection'[Type]) =  "Pipeline"  , [Total],
         SELECTEDVALUE('Table'[Status]) ="Won" && SELECTEDVALUE('Type Selection'[Type]) = "Revenue", CALCULATE([Total], 'Table'[Status] = "Won"))

MFelix_2-1751322371161.png

 

MFelix_1-1751322357901.png

 

See PBIX attached.

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

Ashish_Mathur
Super User
Super User

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1751328166656.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

4 REPLIES 4
v-sgandrathi
Community Support
Community Support

Hi @MuppetyMe,

Thank you @Ashish_Mathur amd @MFelix for your response and for providing the attached file.
You may refer to the answers included, and I am also sharing the PBI xfile for your reference. Kindly review it at your convenience.

 

I hope this helps resolve your issue. If you have any questions or need further clarification, I’m happy to help.

If you found this post useful, kindly give it a ‘Kudos’ and mark it as a solution so others facing similar challenges can find it more easily.

 

Thanks for being part of the Microsoft Community!

Ashish_Mathur
Super User
Super User

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1751328166656.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
MFelix
Super User
Super User

Hi @MuppetyMe ,

 

Create a disconnected table with the two values:

Pipeline

Revenue

 

Then add the following measures:

Total = SUM('Table'[ Amount ])


total Values = 

SWITCH(
    TRUE(),
         SELECTEDVALUE('Type Selection'[Type]) =  "Pipeline"  , [Total],
         SELECTEDVALUE('Table'[Status]) ="Won" && SELECTEDVALUE('Type Selection'[Type]) = "Revenue", CALCULATE([Total], 'Table'[Status] = "Won"))

MFelix_2-1751322371161.png

 

MFelix_1-1751322357901.png

 

See PBIX attached.

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Thank you @MFelix and @Ashish_Mathur! Both of your suggestions (almost the same, but slightly different) solved my issue. Appreciate your time and help! 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors