Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I'm trying to visualize the total revenue per week, include the weeks with no revenue. For this purpose I tried to use
But as you can see this visual is without the null weeks.
Therefore I tried it with the following DAX
How can I make a combination of both with the blue line and the first visualisation.
For the blue line I use the following dax
Solved! Go to Solution.
Hi @Dickkieee ,
To ensure that weeks with no revenue are included in your visual, you need to make sure that your date table (DimDate) has a continuous range of dates and that it is not filtered out by the relationships or the context of the report. Here's a revised version of your DAX measure that should help:
Total Revenue with Empty Weeks =
CALCULATE (
SUM ( 'fct_test'[revenue] ),
ALL ( 'DimDate' ),
// This removes any filters from the DimDate table
VALUES ( 'DimDate'[WeekNumber] ) // This ensures that you still group by week
)
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Dickkieee ,
To ensure that weeks with no revenue are included in your visual, you need to make sure that your date table (DimDate) has a continuous range of dates and that it is not filtered out by the relationships or the context of the report. Here's a revised version of your DAX measure that should help:
Total Revenue with Empty Weeks =
CALCULATE (
SUM ( 'fct_test'[revenue] ),
ALL ( 'DimDate' ),
// This removes any filters from the DimDate table
VALUES ( 'DimDate'[WeekNumber] ) // This ensures that you still group by week
)
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.