Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
prakash11440278
Post Prodigy
Post Prodigy

Measure as visual level filter

Hi All,

I have created a measure where i want to add that measure as visual level filter but it is not returning 1 or 0. If i show the measure in card visual it is returning 0 or 1. But when i dropdown the selection it is not returning any thing. Please help.

 

prakash11440278_0-1643266031459.pngprakash11440278_1-1643266071021.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @prakash11440278 , 

I have tried your Formula. And I have not got issue.

Measure =
VAR _re =
    NOT ISEMPTY ( FILTER ( 'Table', 'Table'[rnr_emailaddress] = USERNAME () ) )
RETURN
    1 * _re

vpollymsft_0-1643785613854.png

It works well. So what is your problem?

 

If I have misunderstood your meaning, please provide your pbix without privacy information and dsired output.

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @prakash11440278 , 

I have tried your Formula. And I have not got issue.

Measure =
VAR _re =
    NOT ISEMPTY ( FILTER ( 'Table', 'Table'[rnr_emailaddress] = USERNAME () ) )
RETURN
    1 * _re

vpollymsft_0-1643785613854.png

It works well. So what is your problem?

 

If I have misunderstood your meaning, please provide your pbix without privacy information and dsired output.

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@prakash11440278 , Use count in place Not is empty an then return

 

if(isblank(MineisOktoShow), 0,1)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

HI @amitchandak ,

Thanks for your reply.

Below is the error i am getting.

prakash11440278_0-1643269820709.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors