The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.