To create weeknumbers in DAX we use the DAX function WEEKNUM. The standard system it uses is the US system. To get the correct the correct weeknumber according to ISO 8601. Which is used is Europe, ...
nishalit
3 years agoNew Member
To create weeknumbers in DAX we use the DAX function WEEKNUM. The standard system it uses is the US system. To get the correct the correct weeknumber according to ISO 8601. Which is used is Europe, parts of Asia and Australia and many other countries. We now have to choose a return type. WEEKNUM('Calendar'[Date]',21) The intellisense only give 2 option for the return type. 1 (week starts sunday) 2 (Monday). How ever neither will give you the right weeknumber in Years that follow years that have 53 weeks in the ISO system. (2021 will be a year where using Type 2 will give you the wrong weeknumber every single week). Most people solve this by using an Type 21. Which is a bit of a secret. Because it is not shown as an option by the intellisense or official documentation. Can we get a ISOWEEKNUM() function just like in Excel. Which will be much easier for users to understand. Especially with 2021 coming. The first year where it would actually cause a problem since the introduction of Power BI i think it is time to make this a little bit simpler. Best regards, Jeroen The 21 part is not an option according to the intellisense.
Recent ideas
Add an option to hide all visual-level filters
As a best practice, we often need to hide fields and measures from the Filters pane in Power BI reports. When a visual contains dozens of fields and measures, manually hiding each one individually ca...Roman20262 hours agoNew MemberNew12Views0likes1CommentBring back native SQL statements for Snowflake connections in Power BI Desktop
Description: Until recently, Power BI Desktop allowed users to provide a native SQL statement directly when creating a connection to Snowflake. Although this option was not available through the co...AdLouter3 hours agoRegular VisitorNew7Views0likes0CommentsPrevent Initial Screen from Showing when Power BI is Loading a Power App
When navigating to a page with a Power Apps for Power BI visualization, the initial How to get started screen loads first as a default splash screen before loading the actual app. This creates a quit...kakayes8 hours agoNew MemberNew7Views0likes0CommentsGet data from Apache Kafka topics via private networking
Current prerequisites limit to public Kafka instances which is not feasible for most enterprise customers. When will this limitation be lifted so that it can be used in private network setups, for ...Jugi13 hours agoMicrosoft EmployeePlanned3.5KViews2likes4CommentsOption to disable sharing from personal workspaces
Option to disable sharing from personal workspaces at the tenant level. Governance - We would like to have an option to prevent users from sharing content from their personal workspacesstephen_yale14 hours agoNew MemberNeeds Votes2KViews234likes21Comments