Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi Experts
Is it possible to have two option in the following DAX
See image below
Option 1 | Option 2 |
Blank Cell | TBC |
The below works when the cell is blank i want the and or option if the cell is not blank but TBC then return TBC as opposed tp "N/A"
5.2 Blanks = VAR Avalue = AVERAGE([5.2]) RETURN IF(ISBLANK(Avalue),"N/A",Avalue)
You can try this:
5.2 Blanks =
VAR Avalue = AVERAGE ( [5.2] )
RETURN
COALESCE ( Avalue, [TBC measure] )
COALESCE returns the first non-blank value among the values inside it.
Note: The measure will return a text if TBC is also a text.
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
74 | |
61 | |
39 | |
36 |