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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

fail to show the cell values in visuals probably due to "#(cr)#(If)" in the cell value??

Hi experts. I am learning poer bi by myself and i find some interesting problems.

in my query, in the column [Category], there are two sets of values "Performances variable cost (Euro / 100 kg raw milk)" and "Performances full cost (Euro / 100 kg raw milk)". they extend the format in excel sheet, shown in query with feed line like this:

Yao2319_0-1688976470685.png

so to check their format, i right click the cell and choose "Replace Values", so it shows : 

Yao2319_1-1688976539722.png

Yao2319_2-1688976558296.png

we can find that with "cull cost" , there is a "#(cr)#(If)" in it, while with "variable cost" , there is "#(If)". 

Now the problem is, the "full cost" has the same cell value in the fact table and dimCategory table, which is "#(cr)#(If)" inbetween". and the "variable cost" has the same cell value in the fact table and dimCategory table, which is "#(If)". and then i build the relationships between the two tables based on primary key [Category]. but in the matrix visual, it only shows "variable cost", but no "full cost":

Yao2319_3-1688976931847.png

Can anyone one help me solve this problem? I am very curious. thanks in advance!!

1 ACCEPTED SOLUTION
BA_Pete
Super User
Super User

Hi @Anonymous ,

 

For the sake of simplicity, I would probably just do two replace operations on this column in both your fact and dimension tables to clear out all the cr/lf items

First, replace #(lf) with null, then replace #(cr) with null.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




View solution in original post

1 REPLY 1
BA_Pete
Super User
Super User

Hi @Anonymous ,

 

For the sake of simplicity, I would probably just do two replace operations on this column in both your fact and dimension tables to clear out all the cr/lf items

First, replace #(lf) with null, then replace #(cr) with null.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors