mohita1010
Advocate I
7 years agoStatus:
Needs Votes
Add Week over Week calculation in Time Intelligence Measures?
As of now I see Month on Month and Year on year calculations but at times we also need Week over Week calculation in Time Intelligence Measures? I think it will be a great value add for people who work on Weekly reports.
23 Comments
- mauriziomail81New MemberIt would be really convenient to align the M function Date.WeekOfYear to the Excel WEEKNUM function to return a ISO 8601 compliant week number. Time intelligence properties are the starting point for a plethora of other calculations. And this "tile" is missing.
- jeffrey_wang
Power BI Team
If all you need is to add a column to a table, one option today is to add a calculated column using DAX WEEKNUM function that behaves identically to Excel's. - roberto_campassNew MemberThank you very much for your suggestion, Jeffrey. However, it would be much better to be able to reference a Power Query table cell for other interim evaluations and calculations... before loading all the needed structures in DAX and without writing kilometers of code only to obtain this result.
- maksym2New MemberDear Jeffrey, unfortunatelly DAX function like M functions both returns incorrect week number, it's not ISO number
- LUC_VANDE_PLASNew MemberThat doesn't seem to fix the problem: Expression error: The name 'weeknum' wasn't recognized. Make sure it's spelled correctly. input given: =weeknum(date,21)
- Richard_S
Advocate I
My company not only reports on monthly numbers, but also weekly. Thus it would be nice to have time intelligence functions like Previousmonth, but for weekly periods, so that WoW calculations are much easier to create etc. - fbcideas_migusrNew MemberDAX function DATESINPERIOD should add support for weeks in addition to the current periods defined. Or ideally, it should support a custom period entered as an integer (so I could do hourly, bi-weekly, whatever I feel like).
- hauke_basseNew MemberIt just cost me quite some time to see that the M-function in Query-Editor, which is generated by Add Column - Date - Week - Week of Year really behanved different from the function "WEEKNUM". It really is solved quite satisfactory in Excel. It should REALLY by introduced into M, so that I can append tables with WEEK-comlumns efficiently in query designer.
- cristibalogNew MemberYou can use a calendar table linked to your Date column
- moreauNew MemberThis is a workaround until this is implemented : https://gist.github.com/r-k-b/18d898e5eed786c9240e3804b167a5ca
Recent ideas
Power Query Parameter create/use when connecting to a dataflow
In power query when you connect to a table in a dataflow there are no options to create or use a parameter for that dataflow. When connecting to SQL there is an option when setting up the connection ...ben_holmes30 minutes agoNew MemberNeed Clarification191Views3likes1CommentParameterize Dataflow Gen2 data source connection
Allow the Dataflow Gen2 data source connection GUID to be parameterized and stored in a Variable Library. This would allow the same Dataflow to use different connections depending on the workspace/e...frithjof_v37 minutes agoCommunity ChampionNeeds Votes33Views2likes1CommentExpose Power Query as a Standalone Runtime and Command-Line Interface (CLI)
Summary Power Query has evolved into one of Microsoft's most powerful data transformation technologies and is now used across Excel, Power BI, Fabric, Dataflows, Power Platform, and other products. ...juansgr_40 minutes agoNew MemberAbandoned18Views0likes2CommentsExpose User Prompt and Agent Response Logs for Fabric Data Agents
Idea: As an engineer responsible for managing and improving Microsoft Fabric Data Agents, I currently have no way to view how users are interacting with the agents I’ve built. While it’s likely that...JoshuaPitzer2 hours agoAdvocate INew1.2KViews26likes2CommentsImprove relationship visualisation in Model View for large semantic models.
When working with complex models containing many fact and dimension tables, relationship lines frequently cross and overlap, making lineage difficult to follow. A useful enhancement would be to allo...jcheeseaos3 hours agoNew MemberNew6Views0likes0Comments