Reply
Topic Options
- 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
DAX - Calculated column based on IF condition
08-23-2023
07:17 AM
Hi Team,
I have a scenario to achieve in DAX. The mentioned is the requirement.
The Training "T1" should be mapped only to Role 1. If other Role contains the T1 value it should be "Null". Other values in Training can be same. Only for T1 we need to achieve this. Even if data has 100 roles, if any role contains T1 value then it should be "Null" all other values are similar.
Please advice to achieve this output.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023
07:42 AM
I would do something like this for a caluclated column
IF(AND('TableName'[Trainings]="T1", NOT('TableName'[Name]="Role 1")),BLANK(),'TableName'[Trainings])
If this post was helpful, please kudos or accept the answer as a solution.
~ Anthony Genovese
Need more PBI help? PM me for affordable, dedicated training or consultant recomendations!

Helpful resources
Recommendations
Subject | Author | Posted | |
---|---|---|---|
11-06-2023 06:24 AM | |||
04-27-2024 03:07 AM | |||
10-25-2023 03:32 PM | |||
12-05-2023 05:27 AM | |||
10-16-2024 02:26 AM |
Top Solution Authors (Last Month)
User | Count |
---|---|
12 | |
12 | |
11 | |
10 | |
9 |
Top Kudoed Authors (Last Month)
User | Count |
---|---|
29 | |
16 | |
15 | |
13 | |
12 |