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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.