The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.
Thanks and Regards,
Fathopes.
Solved! Go to Solution.
Hi @Fathopes ,
Basically you will need a table contains dates with weekends and holidays.
For exmaple:
Table1:
Table2:
Then add a column.
Column =
IF (
ISBLANK ( Table1[value] ),
LOOKUPVALUE ( Table2[weekends or holidays], Table2[days], Table1[days] ),
FORMAT ( Table1[value], "" )
)
Best Regards,
Jay
Hi @Fathopes ,
Basically you will need a table contains dates with weekends and holidays.
For exmaple:
Table1:
Table2:
Then add a column.
Column =
IF (
ISBLANK ( Table1[value] ),
LOOKUPVALUE ( Table2[weekends or holidays], Table2[days], Table1[days] ),
FORMAT ( Table1[value], "" )
)
Best Regards,
Jay
User | Count |
---|---|
15 | |
12 | |
7 | |
6 | |
5 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |