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
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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.