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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Fathopes
Frequent Visitor

How to add Saturday, Sunday or Public Holiday if the value is blank

Hi All,

 

I have the table like below, how can I add saturday, sunday or Public Holiday inside this table if the value is blank. Attached also the example of excel the answer I want.

 

Fathopes_0-1655973800274.png

Fathopes_1-1655973904492.png

Thanks and Regards,

Fathopes.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Fathopes ,

 

Basically you will need a table contains dates with weekends and holidays.

For exmaple:

Table1:

vjaywmsft_0-1656322664675.png

Table2:

vjaywmsft_1-1656322677046.png

Then add a column.

Column =
IF (
    ISBLANK ( Table1[value] ),
    LOOKUPVALUE ( Table2[weekends or holidays], Table2[days], Table1[days] ),
    FORMAT ( Table1[value], "" )
)

vjaywmsft_2-1656322852575.png

 

Best Regards,

Jay

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Fathopes ,

 

Basically you will need a table contains dates with weekends and holidays.

For exmaple:

Table1:

vjaywmsft_0-1656322664675.png

Table2:

vjaywmsft_1-1656322677046.png

Then add a column.

Column =
IF (
    ISBLANK ( Table1[value] ),
    LOOKUPVALUE ( Table2[weekends or holidays], Table2[days], Table1[days] ),
    FORMAT ( Table1[value], "" )
)

vjaywmsft_2-1656322852575.png

 

Best Regards,

Jay

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.