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
SUMESHKUMAR22
Helper IV
Helper IV

Measure not filtering as per time Calculation

Hi Community,

In the attached pbix file, Im facing issue with Problem -1 in atached pbix.

Issue : Im trying to use colesce function in the base measure 'vall' but due to that the date filter context is getting removed and showing data for all dates. But when i dont use colesece it works fine. 


Thanks in advance! 

1 ACCEPTED SOLUTION

Hi @SUMESHKUMAR22 ,
Try this measure

vall =
CALCULATE(
    SUM('Sample'[VALUE]),
    ALLSELECTED('DIM Date'[Date])
)

Hakuna_matata_0-1743249285689.png

If this solved your problem, please accept it as a solution!! ^_^

 

View solution in original post

5 REPLIES 5
Hakuna_matata
Resolver I
Resolver I

Hi @SUMESHKUMAR22 ,
I may suggest updating the "val" to below measure

val =
CALCULATE(
    COALESCE(SUM('Sample'[VALUE]), 0),
    ALLSELECTED('DIM Date'[Date])
)
Hope it help!
If this solved your problem, please accept it as a solution!!

Hi @Hakuna_matata ,

It didn't work still even after adjusting the base measure 'vall' .

Any other possibilities to fix this ?


SUMESHKUMAR22_0-1743247238879.png

Thanks in advance!

Hi @SUMESHKUMAR22 ,
Try this measure

vall =
CALCULATE(
    SUM('Sample'[VALUE]),
    ALLSELECTED('DIM Date'[Date])
)

Hakuna_matata_0-1743249285689.png

If this solved your problem, please accept it as a solution!! ^_^

 

@Hakuna_matata , Well even if we use sum(value) , still it will work 🙂

Im actually trying to show 0 whereever the 'Organic' is coming 0 for specific dates, that the reason I used (colesce,0) .

Thanks for the repsonses.

SUMESHKUMAR22
Helper IV
Helper IV

Hi Team, 

Any suggestions please. 😞

Thanks!

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.