Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi all,
I am quite new to Power BI and I have one report which I would like to automate if possible.
This is a table which in terms of rows is easy to configure, however in terms of rows its a bit hard.
In the raw data we have - Day, Month, Week, Year as separate columuns so that we we want to achieve is a table which looks like this:
It like if we are able to have columuns with a week value which can be expanded to daily value.
Hope I managed to explain what we need.
Many thanks in advance!
BEst regards,
Ivan
Solved! Go to Solution.
You can use the WEEKNUM() function:
WEEKNUM(<date>, <return_type>)  https://docs.microsoft.com/en-us/dax/weeknum-function-dax
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I have some progress..
I found this feature "
The issue now is that I cant get the Weeks in the Data Hierarchy.
Thats what I have displayed in the fields section:
And heres what I have in the raw data:
Now if I use Month, Week, Date it gets confused and shows the months as follows - December, February, January
If I get the time hierarchy I dont have the weeks.
Any advices?
many thanks!
You can use the WEEKNUM() function:
WEEKNUM(<date>, <return_type>)  https://docs.microsoft.com/en-us/dax/weeknum-function-dax
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, thanks for the reply! This works and adds the week, however still doesnt manage to get a good visual in Power Bi Matrix
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 87 | |
| 49 | |
| 36 | |
| 31 | |
| 30 |