Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
The end goal of this DAX:
Here’s what I have currently--no trouble with replacing "False" fields (which are currently formatted as text) with "TBD."
goalExists =
IF([teams_with_goal]=0, "TBD", TRUE())
After this, it's clear that all my False values are replaced with TBD.
For reference, this is the teams_with_goal measure:
teams_with_goal =
CALCULATE(
DISTINCTCOUNT(SquadTeams[Id]) +0,
ALLNOBLANKROW('SquadHealthCheckGoal'[ID])
)
After creating the above measure, I was able to duplicate/change the column type to text and replaced with True/False. That being said, I can't seem to wrap my head around only replacing the "False" values for current or future months
Any insight is greatly appreciated 🙂
Solved! Go to Solution.
Try not to mix field types in your results. Oftentimes DAX will actually prevent you from doing that. In this scenario you should stick with all text values, ie "FALSE","TBD","TRUE" etc.
Learn about functions like ISBLANK() and COALESCE()
Try not to mix field types in your results. Oftentimes DAX will actually prevent you from doing that. In this scenario you should stick with all text values, ie "FALSE","TBD","TRUE" etc.
Learn about functions like ISBLANK() and COALESCE()
Appreciate your response---I'm going to work on it this week with a fresh mind!