Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I have created one measure .
Hi @rock_stage_user ,
I have received your private message, as we are only working on the forum, we can only provide help on the forum, if you need to connect over a call, you can create a support ticket in Power BI, which needs a Pro license. Certainly, you can connect here in the forum.
Best Regards,
Community Support Team _ kalyj
I have following report
It contains 604 registred user before applying any filter. after apply filter it shows count 229 which is correct,
but when i am selecting no it shows other records which is satisfying the condition , but i want all records when i am selecting No as per first screenshot
I have created that filter using one column which is excluding the domains from result set.
so pls let me know how should i proceed.
Hi @rock_stage_user ,
Based on your snapshot, what you selected in the slicer isn't "Yes" or "No", but the True/False column from the table. A column can only filter the table exactly based on the value.
If you want to custom the slicer, you should create a new table like this:
Then create a measure.
Measure =
IF (
ISFILTERED ( slicer[option] ),
IF (
SELECTEDVALUE ( slicer[option] ) = "Yes"
&& MAX ( new_processor_info[Excluding data from agencies and Mastercard Employees] ) = "TRUE",
1,
IF ( SELECTEDVALUE ( slicer[option] ) = "No", 1 )
),
1
)
Put the measure in the fact visual filter and set to 1, then the created Yes/No slicer can filter as expected:
I attach my sample below for your reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
max is not work with boolean type
Hi @rock_stage_user ,
Sorry I forgot to mention, in order to reference the True/False column, I change the data type to text.
Best Regards,
Community Support Team _ kalyj
I have created one column as a check with text type TRUE/FALSE based on the true/false column but still its not working i have added measure also in view level.
is there i am missing something?
Hi @rock_stage_user ,
You should put the visual filter on the table visual or map visual, but not the slicer.
Best Regards,
Community Support Team _ kalyj
I have added but still not working,
let me know what is wrong it is not working at all in this report
Hi @rock_stage_user ,
According to your description, I create a sample.
Based on your formula, it can get the correct result.
The result are different is because the conditions in the two formula are different.
If you can't return correct result, please check two points:
1.If the column format of Excluding data from agencies and Mastercard Employees is True/false.
2.Add "ALL" in the formula like this:
Formula1 =
VAR selection =
SELECTEDVALUE ( slicer[option] )
RETURN
(
SWITCH (
TRUE (),
selection = "Yes",
COUNTROWS (
FILTER (
ALL ( new_processor_info ),
new_processor_info[Excluding data from agencies and Mastercard Employees]
= FALSE ()
)
),
selection = "No", 0
)
)
I attach my sample below for your reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
if you see below records
and report
if i am clicking on yes then it will show count 1 and if i am click on No then result must be all that is in case here is 2 so pls let me know how we can write meaure or something other ways to do it
Hi @rock_stage_user ,
According to your description, here's my solution. Create a measure:
Measure =
IF (
SELECTEDVALUE ( slicer[option] ) = "Yes",
COUNTROWS (
FILTER (
new_processor_info,
new_processor_info[Excluding data from agencies and Mastercard Employees]
= TRUE ()
)
),
IF (
SELECTEDVALUE ( slicer[option] ) = "No",
COUNTROWS ( 'new_processor_info' )
)
)
Get the correct result:
I attach my sample below for your reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for your reply, but i want to show all records if i am click on No and when i am click on yes only true related records it will show in the report.
Your request is not really clear but in a simple glance I can tell that your measure works fine only when the silcer selection is on "No"
No Options created for "Yes"
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
can you pls let me know how should i proceed for yes option with if any aggregation over there,like sum,count
i have tried diff diff ways bit still not giving correct answer
Sorry, my mistake,
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.