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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Analitika
Post Prodigy
Post Prodigy

Show blanks only in dates visuals

Now i have measure

it created for date slicer to ignore date selected and show always Blanks

194 =
CALCULATE (
SUM ( 'Table'[Sum] ),
FILTER (
ALL('Table'),
'Table'[State] IN { "on", "edit" } &&
ISBLANK('Table'[date])
)
)

But when i put slicer with users, it attach to each user, wich have blank date and blank sum, same sum

But i need to attach only if username is blank

 

So how to write measure? i think must be sometnig like

 

194 =
CALCULATE (
SUM ( 'Table'[Sum] ),
FILTER (
ALL('Table'[date]),
'Table'[State] IN { "on", "edit" } &&
ISBLANK('Table'[date])
)
)
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Analitika , Try without all

194 =
CALCULATE (
SUM ( 'Table'[Sum] ),
FILTER (
('Table'[date]),
'Table'[State] IN { "on", "edit" } &&
ISBLANK('Table'[date])
))
//if need add removefilters 

 194 =
CALCULATE (
SUM ( 'Table'[Sum] ),
FILTER (
('Table'[date]),
'Table'[State] IN { "on", "edit" } &&
ISBLANK('Table'[date])
),removefilters('Table'[date]))

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Analitika , Try without all

194 =
CALCULATE (
SUM ( 'Table'[Sum] ),
FILTER (
('Table'[date]),
'Table'[State] IN { "on", "edit" } &&
ISBLANK('Table'[date])
))
//if need add removefilters 

 194 =
CALCULATE (
SUM ( 'Table'[Sum] ),
FILTER (
('Table'[date]),
'Table'[State] IN { "on", "edit" } &&
ISBLANK('Table'[date])
),removefilters('Table'[date]))

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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