Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have created one table which contained two options Yes or No.
I need to sort the data based on selected option. data is like this.
I want to sort this data according to selection
if i am selected yes then it will show only (Excluded data from agencies and mastercard) is true if i am selected No in the slicer it will show all the records pls can someone help me with this.
@rock_stage_user , measure has to return single value,
example
Measure = Var selection = SELECTEDVALUE(slicer[option])
RETURN (SWITCH(TRUE(),
selection = "Yes",countrows(FILTER(new_processor_info,new_processor_info[Excluding data from agencies and Mastercard Employees]= TRUE())),
selection="No",0))
It is also gives the wrong result, i am trying to exclude the domains from main result.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
30 | |
26 |
User | Count |
---|---|
99 | |
87 | |
45 | |
43 | |
35 |