Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have my data in a monthly format. But I want to convert it into a weekly format.
My column data type is text currently. And I'm unable to convert it into date data type.
Expected Output :
Sr.No. Customer Code Jan23(Week1) Jan23(Week2) Jan23(Week3) Jan23(Week4) Jan23(Week5)
Every month should divide into weeks.
I don't have a date column.
Can anyone help?
Solved! Go to Solution.
1) in power query divided sales into daily sales and created a date in the same place
2) I created a calendar, if you don't like this calendar you can create your own
1) in power query divided sales into daily sales and created a date in the same place
2) I created a calendar, if you don't like this calendar you can create your own
Great. You did fantastic work. But I have got an error.
"Column 'Value' in the table cannot be found or may not be used in this expression. Column 'Value' in the table cannot be found or may not be used in this expression. Column 'Value' in the table cannot be found or may not be used in this expression."
in this version I made a small change, removed the weekend days
https://1drv.ms/u/s!AiUZ0Ws7G26RhxQzx1qDV_e2UulW?e=Dj5M3M
In the Second Calender. also some totals are wrong.
It differs by 1.
I'm attaching an image for your reference.
Thanks.
only need to round to two decimal places
https://www.dropbox.com/scl/fi/g2vcupkp6ghzykfubcj1p/Merged-Forecast.xlsx?dl=0&rlkey=p35g27v9nxmcsqq...
Please check this data.
There are 3 sheets.
In first, Data is in weekly basis.
In second and third, Data is in monthly basis.
Now I want to append all these sheets and final result should displayed in weekly basis for all of these.
Please help.
And also tell me if this conversion and Append possible in Excel.
Done.Thank you so much for your help.
look again carefully what and how I did, I don’t know what you have
the "Value" column is the sum column
Failed to save modifications to the server. Error returned: 'Cannot convert value 'May'23' of type Text to type Date.
The current operation was cancelled because another operation in the transaction failed.
'.
give the file to see what is causing this error
Sr.No | Code | Jan23 | Feb23 | March23 | April23 | May23 | Total |
1 | 575 | 200 | 100 | 50 | 60 | 80 | 490 |
2 | 125 | 40 | 30 | 46 | 70 | 90 | 286 |
I have data in this monthly format.I want to convert it into weekly format without a date column.
Hi,
Remove the Total column. Select the first 2 columns, right click and click on "Unpivot Other Columns". Rename the Attribute column to Dae and ensure that this column has the Data Type of Date. Create a Calendar Table with calculated column formulas for Year, Month name, Month number and Week number. Create a relationship (Many to One and Single) from the Date column of the Data Table to the Date column of the Calendar Table. To your visual, drag the Month name and Week number column from the Calendar Table.
Hope this helps.
Thank yo so much. It works. But now how to divide that value of a month into weeks equally?
Hi,
I can try to help if you share the download link of the PBI file. In that PBI file, ensure that there is a Calendar Date with a week number column.
Hi,
Also, share the PBI file with a calendar table and week number column.
I don't have Date column in data.
In the Table that you have shared, the column headings are Month and year, When you Unpivot, the Attribute column's data type can be conveted into Date.
User | Count |
---|---|
116 | |
73 | |
62 | |
50 | |
46 |
User | Count |
---|---|
173 | |
123 | |
60 | |
59 | |
57 |