Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
WeekNumber | Month (calculated column) |
1 | September (current week) |
2 | September |
3 | September |
4 | September |
5 | October |
6 | October |
7 | October |
8 | October |
9 | November |
10 | November |
I am having a week number , I need to tag the week number 1 to current week (from there current month).
Anyone help me in creating this calculated column
Solved! Go to Solution.
Hi @Legend_11 ,
You can also try below DAX to create a calulated Date column as
Thanks!
Inogic Professional Services
An expert technical extension for your techno-functional business needs
Power Platform/Dynamics 365 CRM
Drop an email at crm@inogic.com
Service: http://www.inogic.com/services/
Power Platform/Dynamics 365 CRM Tips and Tricks: http://www.inogic.com/blog/
Hi @Legend_11 ,
You can also try below DAX to create a calulated Date column as
Thanks!
Inogic Professional Services
An expert technical extension for your techno-functional business needs
Power Platform/Dynamics 365 CRM
Drop an email at crm@inogic.com
Service: http://www.inogic.com/services/
Power Platform/Dynamics 365 CRM Tips and Tricks: http://www.inogic.com/blog/
@Legend_11 , You can use this kind of logic
Week Type =
var _st = today() +-1*WEEKDAY(today() ,2)+1
var _end = today() + 7-1*WEEKDAY(today(),2)
return
Switch( True(),
[Date] >= _st && [Date] <= _end ,"This Week" ,
[Date] >= _st-7 && [Date] <= _end -7,"Last Week" ,
[Week Name]
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
88 | |
78 | |
57 | |
40 | |
39 |
User | Count |
---|---|
116 | |
82 | |
78 | |
48 | |
42 |