Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
IPGeorgiev
Helper III
Helper III

Advanced Data columns in a table

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:

image.png

 

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 

1 ACCEPTED SOLUTION

@IPGeorgiev ,

 

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.

 

View solution in original post

3 REPLIES 3
IPGeorgiev
Helper III
Helper III

I have some progress..

 

I found this feature "

Drill down on column headers"

 

The issue now is that I cant get the Weeks in the Data Hierarchy.


Thats what I have displayed in the fields section:

 

image.png

 

And heres what I have in the raw data:

 

 

image.png

 

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!

 

@IPGeorgiev ,

 

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

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.