cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Nikhil1106
New Member

Need help creating week number

 

I found 'week of year' and 'week of month' under Date section in Add column.


Is there a way to find week of Quarter from a given date either through DAX formula or  query editor?

1 REPLY 1
waltheed
Solution Supplier
Solution Supplier

I do not know of any DAX function that does exactly that. 

 

But the recommended approach is to create a data dimension table yourself. And then  you can add any column or type of date  property you like. 

 

Here is a nice post on how to do that with Power Query (get data):

https://blog.crossjoin.co.uk/2013/11/19/generating-a-date-dimension-table-in-power-query/

 

 

Cheers, Edgar Walther
ITsmart BI and Analytics consultant
Power BI User Group Netherlands

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

March Update

Check it Out!

Click here to read more about the March 2021 Updates!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

secondImage

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.