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! Get ahead of the game and start preparing now! Learn more
Hello,
I need help to create a conditional measure from Quality OK column. The Quality OK column, the below table is a conditional measure based on a status column in the table - created as CALCULATE(COUNT(TP), STATUS = "OK"). Now, I need to create a new column in this table to show the MAX Date if Quality OK is not blank and "None" if it is blank. Also, Max Date is a measure on the date field in the table - created as MAX(Arrival Date).
Thank you!
Solved! Go to Solution.
Hi @nlakshmi,
AFIAK, current power bi does not support one field return multiple data types, you need to convert these values to text to use these different data type value at the same time.
You can try to use the following measure formula if suitable for your requirements:
formula =
IF ( [Quality OK] <> BLANK (), MAX ( Table[Max Date] ), BLANK () )
Regards,
Xiaoxin Sheng
Thank you very much for the resolution
Hi @nlakshmi,
AFIAK, current power bi does not support one field return multiple data types, you need to convert these values to text to use these different data type value at the same time.
You can try to use the following measure formula if suitable for your requirements:
formula =
IF ( [Quality OK] <> BLANK (), MAX ( Table[Max Date] ), BLANK () )
Regards,
Xiaoxin Sheng
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |