Forum Discussion
Pbiuserr
Post Prodigy
4 years agoIF with corresponding row value
Hello,
I've got a table like
| Zone | Category |
| Europe | Global |
| Asia | Global |
| America | Global |
| Local Grocery | Local |
| Local Automotive | Local |
| Local HR | Local |
and I want to create a calculated column to look like
| Zone | Category | Result of IF |
| Europe | Global | Europe |
| Asia | Global | Asia |
| America | Global | America |
| Local Grocery | Local | Local |
| Local Automotive | Local | Local |
| Local HR | Local | Local |
- Anonymous4 years ago
Hi Pbiuserr ,
Here are the steps you can follow:
1. Create calculated column.
Result of IF = IF( 'Table'[Category]="Global", 'Table'[Zone], 'Table'[Category])2. Result:
If you need pbix, please click here.
IF with corresponding row value.pbix
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
2 Replies
- AnonymousNot applicable
Hi Pbiuserr ,
Here are the steps you can follow:
1. Create calculated column.
Result of IF = IF( 'Table'[Category]="Global", 'Table'[Zone], 'Table'[Category])2. Result:
If you need pbix, please click here.
IF with corresponding row value.pbix
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly