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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Pline_69
New Member

Blank result in Budget Dashboard due to no transaction for this date in fact table (Sales).

Hello Community,

I have built a Calculated table with a daily budget per date, shop, and continent with a CrossJoin of my Calendar table and my budget table (where budgets are monthly). 
When I build my dashboard to display my budget to date per shop per date, I have blank values when there were no transactions in a specific date in my fact (Sales table). 

Any ideas how to avoid that? 
Thanks !

1 ACCEPTED SOLUTION
Pline_69
New Member

Hi @v-rzhou-msft ,
I have tried your tips, but it doesn't help. Thanks anyway for the reply.

However, I could find the issue by myself.
My Budget to date formula was missing : "all(_Calendar)"

 

Dig_BYToToday = CALCULATE(
    SUM('Budget Digital'[Budget Digital 2023]),
    USERELATIONSHIP(DimSales[SalesRepresentative],'Budget Digital'[Sales Representative]),
    all(_Calendar),
    FILTER(all('Budget Digital'[Date]),'Budget Digital'[Date]<=LASTDATE(_Calendar[Date]))
    )

View solution in original post

2 REPLIES 2
Pline_69
New Member

Hi @v-rzhou-msft ,
I have tried your tips, but it doesn't help. Thanks anyway for the reply.

However, I could find the issue by myself.
My Budget to date formula was missing : "all(_Calendar)"

 

Dig_BYToToday = CALCULATE(
    SUM('Budget Digital'[Budget Digital 2023]),
    USERELATIONSHIP(DimSales[SalesRepresentative],'Budget Digital'[Sales Representative]),
    all(_Calendar),
    FILTER(all('Budget Digital'[Date]),'Budget Digital'[Date]<=LASTDATE(_Calendar[Date]))
    )
v-rzhou-msft
Community Support
Community Support

Hi @Pline_69 ,

 

Please make sure whether you have turn on "Show items with no data" in your field.

vrzhoumsft_2-1688109321625.png

On myside, I create a sample to have a test. Data table contains data from 6/25/2023 to 6/30/2023 without 6/26/2023 and 6/29/2023. And it is connect to calendar table.

It won't show blank if I turn off this function.

vrzhoumsft_1-1688109299124.png

 

Best Regards,
Rico Zhou

 

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

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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