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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Elisa112
Helper IV
Helper IV

Change values of a table based on filtering another table

Hi Experts

I have two tables based on assessment data, linked by an assessment ID, I need to change the categories of assessment from codes and values to something more meaningful but only for IS Assessment type. There are 8 codes and 5 Values.

Here is the example data and expected output

 

Elisa112_0-1739537453066.png

thanks in advance and appreciated

 

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

Hi @Elisa112 , hello Rupak_bi, thank you for your prompt reply!

Please verify if the following sample test meets your requirements:

CodeTable:

vyajiewanmsft_1-1739761611005.png

ValueTable:

vyajiewanmsft_2-1739761622134.png

MappingCodeTable:

vyajiewanmsft_3-1739761631967.png

MappingValueTable:

vyajiewanmsft_4-1739761642941.png

Table relationship:

vyajiewanmsft_0-1739761374915.png

Apply a filter to the visual where Type equals IS:

vyajiewanmsft_5-1739761769661.png

Best regards,

Joyce

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yajiewan-msft
Community Support
Community Support

Hi @Elisa112 , hello Rupak_bi, thank you for your prompt reply!

Please verify if the following sample test meets your requirements:

CodeTable:

vyajiewanmsft_1-1739761611005.png

ValueTable:

vyajiewanmsft_2-1739761622134.png

MappingCodeTable:

vyajiewanmsft_3-1739761631967.png

MappingValueTable:

vyajiewanmsft_4-1739761642941.png

Table relationship:

vyajiewanmsft_0-1739761374915.png

Apply a filter to the visual where Type equals IS:

vyajiewanmsft_5-1739761769661.png

Best regards,

Joyce

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for the demonstration @v-yajiewan-msft this works very well

Much Appreciated!

Rupak_bi
Solution Specialist
Solution Specialist

Hi @Elisa112 

create two master table defining the meaningfull words against the numbers for code and value. create relationship and display the words you wish to.



Regards
Rupak
FOLLOW ME : https://www.linkedin.com/in/rupaksar/

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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