Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have a case where I need to filter by labels However I need only WON, Lost and Others(Pending) which contains all other labels.
How Could I achieve it?
Solved! Go to Solution.
@PowerBigginerHow could I modify it to exclude "Cancelled" label from Pending group? So it should content all labels except WON, LOST and Cancelled
LabelsGroup = SWITCH( TRUE(), 'RequestTable-Splitted'[Planner_Labels] = "WON", "WON", 'RequestTable-Splitted'[Planner_Labels] = "Lost", "Lost", 'RequestTable-Splitted'[Planner_Labels] = "Cancelled", BLANK(), "Pending" )
Will it work as I described?
EDIT: It will create Blank option with Cancelled label. How to hide it 🙂
Create New column in your table
NewLable = SWITCH(TRUE(),tablename[Win_Status] = "WON","WON"
,tablename[Win_Status] = "Lost","Central","Pending")
Use this column in slicer
If it helps, Please Mark as a solution!
For more Power BI Tips & Trick visit my blog https://powertipstricks.blogspot.com/
Thanks In Advance!
@PowerBigginerHow could I modify it to exclude "Cancelled" label from Pending group? So it should content all labels except WON, LOST and Cancelled
LabelsGroup = SWITCH( TRUE(), 'RequestTable-Splitted'[Planner_Labels] = "WON", "WON", 'RequestTable-Splitted'[Planner_Labels] = "Lost", "Lost", 'RequestTable-Splitted'[Planner_Labels] = "Cancelled", BLANK(), "Pending" )
Will it work as I described?
EDIT: It will create Blank option with Cancelled label. How to hide it 🙂
in filter section you can apply not to show blank
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
102 | |
79 | |
72 | |
65 |
User | Count |
---|---|
141 | |
107 | |
100 | |
82 | |
74 |