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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Editing data in your current data model

I have a table which holds payment types. The types are only abbreviated in my model as C(cash) and D(debit order).

I want to change the data to actaully show Cash and Debit order. So that my visualisation holds the full description for users to understand.

 

Can this be achieved without having to change the data in the db? And how?

1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

You can add two new custom cloumns in the query edit.
2-1.PNG

Then remove the "C" and "D" columns, click "Close & Apply".

2-2.PNG

This method will not change the data in the DB and will not affect the next refresh.

 

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

View solution in original post

3 REPLIES 3
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

You can add two new custom cloumns in the query edit.
2-1.PNG

Then remove the "C" and "D" columns, click "Close & Apply".

2-2.PNG

This method will not change the data in the DB and will not affect the next refresh.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
mussaenda
Community Champion
Community Champion

If you are allowed to change it in power query (this will not change on your database),

just hit replace values.

 

If you want in dax,

Add calculated column like

Description of Code =

if (column name) = ("your code"), ("new description"),

if (column name) = ("your code"), ("new description1"))

 

Then you can use your calculated column instead of the code.

MatejZukovic
Resolver I
Resolver I

Hi @Anonymous ,

 

if you don't want to modify your source table you can create a mapping table with two columns - first with abbreviation and second with full description. 

 

Then you can create relationship between the two tables and use field containing full description in your dashboard.

 

Hope it helps!

Matej

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors
Top Kudoed Authors