- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Calculated Measure
KPI No | Value | Date |
2.1.1 Actual | Yes | Jun-24 |
2.1.1 Target | Yes | Jun-24 |
Wrote this, but is giving only if the Value ie "YES"
I would like to return the exact text for the condition.
Appreciate your help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @swathrddy ,
Based on the information you provided, it looks like the data type of this column is date:
But you used this in DAX:
>= "1/06/2024"
This is equivalent to comparing dates and text, which is incorrect. Please modify it to the following DAX:
Measure =
CALCULATE(
MIN('Data File for PB'[Value]),
'Data File for PB'[KPI No] IN { "2.1.1 Actual" },
'Data File for PB'[Date] >= DATE(2024, 6, 1)
)
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @swathrddy ,
Based on the information you provided, it looks like the data type of this column is date:
But you used this in DAX:
>= "1/06/2024"
This is equivalent to comparing dates and text, which is incorrect. Please modify it to the following DAX:
Measure =
CALCULATE(
MIN('Data File for PB'[Value]),
'Data File for PB'[KPI No] IN { "2.1.1 Actual" },
'Data File for PB'[Date] >= DATE(2024, 6, 1)
)
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not returning any value 😞
I have the following target types, in one single table.
Trying to add headline numbers for current month "Yes". Calculated measure should pull the text YES / NO for current month from Values column.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@swathrddy , Try using below DAX
DAX
Measure =
CALCULATE(
SELECTEDVALUE('Data File for PB'[Value]),
'Data File for PB'[KPI No] = "2.1.1 Actual",
'Data File for PB'[Date] = "Jun-24"
)
Proud to be a Super User! |
|

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
09-27-2024 05:56 AM | |||
06-25-2024 03:02 PM | |||
07-24-2024 12:31 AM | |||
07-25-2024 10:54 AM | |||
07-25-2024 08:07 AM |
User | Count |
---|---|
121 | |
105 | |
85 | |
52 | |
46 |