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!View all the Fabric Data Days sessions on demand. View schedule
Hi,
I have a fact table and a calendar table with date. I need to show weekday name (for e.g. 1st Jan is Monday) as DAX measure in pivot table and not a calculated column in calendar table.
I have tried using FORMAT function, its working fine when i use it in calendar table but i need weekday as measure because i have already put "Date" in rows in pivot table.
Please help.
Regards
Harish Rathore
Solved! Go to Solution.
DayNameMeasure = IF ( HASONEVALUE ( DateTable[DayName] ), VALUES ( DateTable[DayName] ) )
Please mark the question solved when done and consider giving kudos if posts are helpful.
Contact me privately for support with any larger-scale BI needs
Cheers
If you already have DateTable[Date] in your "pivot table" you can just use:
DayNameMeasure= SELECTEDVALUE( DateTable[DayName] )
where DayName is the name of the column in your DateTable that has the name of the day.
Please mark the question solved when done and consider giving kudos if posts are helpful.
Contact me privately for support with any larger-scale BI needs
Cheers
Hi @AlB , thanks for your quick response. But i would like to inform you that i do not get any function called "SELECTEDVALUE" in my office 365 version. I am working on powerpivot model in excel. Any other method which can resolve my issue?
Regards
Harish
DayNameMeasure = IF ( HASONEVALUE ( DateTable[DayName] ), VALUES ( DateTable[DayName] ) )
Please mark the question solved when done and consider giving kudos if posts are helpful.
Contact me privately for support with any larger-scale BI needs
Cheers
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 14 | |
| 11 | |
| 9 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 28 | |
| 20 | |
| 19 | |
| 17 | |
| 12 |