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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.