Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
Need to get the First date and last Date as eg: "01/01/2020 - 01/06/2020" for respective Weeks.
1. calculated Table with 04/01/2020 - 03/31/2020
2. calculated Week in column Week
Required to get the first Day and Last day in above format in another column.
Attached sample file for reference.
https://drive.google.com/file/d/1srNmdkQ19t1DaJIhoRsWS19frJ7T9r6n/view?usp=sharing
REgards
Solved! Go to Solution.
Try
link : https://www.dropbox.com/s/9jelo8gddv88sq0/Week%20start%20end%20Monday.pbix?dl=0
Week Start date = 'Table'[Date]-1*WEEKDAY('Table'[Date],2)+1
Week End date = 'Table'[Date]+7-1*WEEKDAY('Table'[Date],2)
Week of = FORMAT('Table'[Week Start date],"dd/mm/yyyy") & " "& FORMAT('Table'[Week End date],"dd/mm/yyyy")
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges
Connect on Linkedin
Try
link : https://www.dropbox.com/s/9jelo8gddv88sq0/Week%20start%20end%20Monday.pbix?dl=0
Week Start date = 'Table'[Date]-1*WEEKDAY('Table'[Date],2)+1
Week End date = 'Table'[Date]+7-1*WEEKDAY('Table'[Date],2)
Week of = FORMAT('Table'[Week Start date],"dd/mm/yyyy") & " "& FORMAT('Table'[Week End date],"dd/mm/yyyy")
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges
Connect on Linkedin
Thanks Amith... it works.
Week Starts for Monday
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 |
|---|---|
| 52 | |
| 34 | |
| 34 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 64 | |
| 64 | |
| 41 | |
| 27 | |
| 24 |