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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.