Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
HI,
I am comparing 2 columns and displaying the required text in the new column using the specs below.
Solved! Go to Solution.
Hi @kalyan209 ,
We can create a calculated column as below.
Column =
VAR par =
VALUES ( 'Audit and Obs Data'[PARENT_ID] )
RETURN
IF (
'Audit and Obs Data'[DOC_TYPE] = "Observation",
"Audit Report without Observation",
IF (
'Audit and Obs Data'[DOC_TYPE] = "Audit"
&& 'Audit and Obs Data'[TRN_ID] IN par,
"Audit Report with Observation",
IF (
'Audit and Obs Data'[DOC_TYPE] = "Audit"
&& NOT ( 'Audit and Obs Data'[TRN_ID] IN par ),
"Audit Report without Observation"
)
)
)
For more details, please check the pbix as attached.
Hi @kalyan209 ,
We can create a calculated column as below.
Column =
VAR par =
VALUES ( 'Audit and Obs Data'[PARENT_ID] )
RETURN
IF (
'Audit and Obs Data'[DOC_TYPE] = "Observation",
"Audit Report without Observation",
IF (
'Audit and Obs Data'[DOC_TYPE] = "Audit"
&& 'Audit and Obs Data'[TRN_ID] IN par,
"Audit Report with Observation",
IF (
'Audit and Obs Data'[DOC_TYPE] = "Audit"
&& NOT ( 'Audit and Obs Data'[TRN_ID] IN par ),
"Audit Report without Observation"
)
)
)
For more details, please check the pbix as attached.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 18 | |
| 13 | |
| 9 | |
| 8 | |
| 8 |