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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
jonmaas
Frequent Visitor

Table view shows different results for custom column created in power query

Hello everyone,

I am currently playing around with using unichar characters to visualize textual status values. To do this I created a custom column in power query (because I read somewhere that those are better than using calc. columns) that checks the value of a column called Statuswert using if and output a unichar character depending on the value. This is the M Code for the custom column:

= Table.AddColumn(#"Uppercased Text", "Statussymbol_", each if [Statusname]="status_cluster" then (
if [Statuswert]="LIVE" then Character.FromNumber(9989) else if [Statuswert]="REJECTED" then Character.FromNumber(10071) else if [Statuswert]="BLOCKED" then Character.FromNumber(9940) else Character.FromNumber(128346))
else "Not StatusCluster")


This is how it would (and should) look in the power query editor:

jonmaas_4-1697185470543.png

 

 

As soon as I load the data into the model and check within the table view I get different Unichars displayed for the very same EAN:

jonmaas_3-1697185240083.png

 


Surprisingly, if I reduce the variety of symbols  (by filtering out 1 or 2 of the 4 in the power query editor) the result gets displayed correctly in table view:

jonmaas_2-1697185013683.png


Does anyone have a clue what could be causing this? I am at my wits end

3 REPLIES 3
jonmaas
Frequent Visitor

I gave in and tried rebuilding the data model in a new file. The issue still persists in a new file. I have so far tried the following:
-Start in a completely new file
-Tried using power query (correct results shown in query editor, wrong in table view)
-Tried using calculated columns (Displayed the correct symbols on friday right after creating the column, Today after data refresh the calculated column now also shows the wrong symbols!!!)
-Tried swapping UNICHAR (or Character.FromNumber in M) for directly inserting the Symbol like this ""

Maybe I should mention that I am generating these unichar characters for a large table (>400k rows). My guess would be some sort of bug that only occours if the table is long/large enough?

lbendlin
Super User
Super User

cannot reproduce

lbendlin_0-1697285740115.png

see attached - please advise.

 

It appears like my file got corrupted somehow? I just tried recreating your table within my project and it also changes the unichars between query editor view and table view. I'd really like to avoid rebuilding my model with all its relationships again from scratch. Does anyone have a clue on how to fix this without just rebuilding the project manually? I already cleared the cache and refreshed multiple times.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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