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! Request now

Reply
matthias_vc
Frequent Visitor

Issue when using Calculated Columns as matrix header

Hey,

 

I'm busy recreating a timesheet from our previous reporting tool to Power BI and I had a weird issue.

 

In my matrix, I can add multiple levels. For this one I have 4 levels coming from a Date-Table:

- Month Name (Long)

- Week

- Day_Of_Week_Short (calculated column POST Query)

DAY_OF_WEEK_Short = LEFT(TimeFields[DAY_OF_WEEK];1) & LOWER(RIGHT(LEFT(TimeFields[DAY_OF_WEEK];2);1))

 

- Daynumer of Month

Working LayoutWorking Layout 
However the simplest change already gives errors. I tried switching "WEEK" with "WEEK_NR". A calculated column that is defined as follows:

WEEK_NR = "Week " & TimeFields[WEEK]

But that gives the following, unsatisfying result:
Broken ReportBroken Report
I've checked the syntax of WEEK_NR but didn't find any errors.
Even weirder is that if I'm filtering our certain WEEK_NRs I get more data and kind of what I want!

 

Filtered Broken reportFiltered Broken report

Is this a bug? What am I doing wrong? If the calculated column is doing so much damage, why is the "Day_Of_Week_Short" Not giving any troubles?

 

Additional Info:

- The value I'm using is in a different query to trhe dates-query. They're linked in a many to one relationship that cross-filters both ways.
- I've tried changing August to "August 2018" in a similar way and this resulted in a similar error.

1 REPLY 1
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @matthias_vc

 

Based on my test, I cannot reproduce the same issue as you said. It's better to share some simplified data sample. You can upload it to OneDrive or Dropbox and post the link here.

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Top Solution Authors