We're giving away 30 tickets for FREE! Share your story, your vision, or your hustle and tell us why YOU deserve a ticket.
Apply nowWin a FREE 3 Day Ticket to FabCon Vienna. Apply now
Hi Everyone
I have below table and i want to use DAX formula to calculate the age of people.
Name | DOB |
A | 10/2/1988 |
B | 2/5/1990 |
C | 0 |
D |
but for DOB data is Blank or "0", i want to display as "No Data"
is there a way to do so ? i try below code :
but it said "DAX comparison operations do not support comparing values of type Date with values of type Text. Consider using the VALUE or FORMAT function to convert one of the values."
How can i create a Age group formula to categorize 0-18, 18-35, 35-60, over 60 and "No data" group?
thanks .
Solved! Go to Solution.
@ktt777 ,
Convert the Data Type to Date/Time.
Use a Calculated Column
Hi @ktt777 ,
Create another calculated column.
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
@ktt777 ,
Convert the Data Type to Date/Time.
Use a Calculated Column
Hi @ktt777 ,
Create another calculated column.
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
Wonderful.
thanks a lot 🙂
User | Count |
---|---|
14 | |
12 | |
7 | |
7 | |
6 |
User | Count |
---|---|
28 | |
20 | |
14 | |
11 | |
5 |