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 the following measure.
I just want to exclude and "Others" values in the calculate measure.
How to do this...?
below is my current measure.
Dep-A |
Working |
Not Working |
Working |
Not Working |
Working |
Working |
Not Working |
Working |
Others |
Others |
Solved! Go to Solution.
Hi @saivina2920 ,
Step 1: Create a new measure
M_Dept-A 2 =
CALCULATE(
COUNT(DummyTable[Dept-A]),
KEEPFILTERS(
DummyTable[Dept-A] <> "" &&
DummyTable[Dept-A] <> "Others")
)
Step 2 : Visualize
Hope that helps
@saivina2920
Please try
Test =
CALCULATE(
COUNTROWS(Sheet1),
FILTER(ALL(Sheet1[Column1]),
Sheet1[Column1] <> ""),
Sheet1[Column1] <> "Others")
If this helps, please mark this as a solution
BR
Dax_noob
Sorry. it's not working...showing syntax error.
Hi @Anonymous ,
Thanks for your help,
i am trying to form donut chart using the above measure.
But, i don't want to show the "others" and blank in the donut chart.
How to remove the blank and "others" in the donut chart.
pls. find the below url for reference file.
Hi @Anonymous ,
Can you pls. correct the measure which is attached my file with this..
this is very important.
Hi @saivina2920 ,
Step 1: Create a new measure
M_Dept-A 2 =
CALCULATE(
COUNT(DummyTable[Dept-A]),
KEEPFILTERS(
DummyTable[Dept-A] <> "" &&
DummyTable[Dept-A] <> "Others")
)
Step 2 : Visualize
Hope that helps
Yes. It's perfect...Thanks...