Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi Guys,
I am trying to create week end date in PQ. Although I am able to do that it forces me to change the query to 'import'
Any workaround as I need it in DQ. Cheers!
Solved! Go to Solution.
I'm not sure you can do it in Power Query but it looks like a DAX calculated column still works:
EndOfWeek = DatesTable[Date] + 7 - WEEKDAY ( DatesTable[Date] )
You could either use formatting to get the days of the week (using ddd) and go from there.
--Nate
Hi, @Anonymous
Like @Greg_Deckler and @AlexisOlson mentioned above, you can create a measure to do it.
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I'm not sure you can do it in Power Query but it looks like a DAX calculated column still works:
EndOfWeek = DatesTable[Date] + 7 - WEEKDAY ( DatesTable[Date] )
@Anonymous Create a measure? Week Ending - Microsoft Power BI Community
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |