This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hello:
I have a need to show start of week as Monday's Date unless Monday is a holiday, then Tuesday's Date would be the Start of Week Date.
I also have another measure in DAX showing the previous weeks date with the same criteria. I'll put the measures below.
What appears to be happening is that these two measures(in cards) go blank when viewing the report in Power BI Service.
I'm wondeing if replicating these measures in M code in a Date table would fix the blank visuals in Service?
Thanks for any input on this issue!
Hi @Whitewater100 ,
In Power Query, M language is used. DAX is used in Power BI Desktop. M and DAX are two completely different languages.
So you can't just copy the dax formula into the M code.
Power Query, M, and DAX: A happy threesome.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.