Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I need to do a filter very similar to this:
XXX =
Solved! Go to Solution.
Hi @Anonymous
You can add a new column to your table with this DAX:
New Column =
if('Table'[TASK]="Design Check",'Table'[NAME],blank())
Output:
or if you need Measure, use this:
Measure =
if(max('Table'[TASK])="Design Check",max('Table'[NAME]),BLANK())
output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Hi @VahidDM ,
First of all thanks for your reply. I'll do my best to explain my issues.
I have a Table with many columns, two of them that I need to work with are text Columns as in the example table
NAME | TASK | DATE | Etc... |
Maria | Design Check | 1/12/22 | Etc... |
Jhon | Design | 1/12/22 | Etc... |
Jhon | Drafting | 7/12/22 | Etc... |
Melissa | Design | 13/12/22 | Etc... |
Melanie | Design Check | 13/12/22 | Etc... |
I need a filter that, for example, return the name in Table[NAME] if Table[TASK] = "Design Check".
I've tried with some DAX like this, but without success:
Hi @Anonymous
You can add a new column to your table with this DAX:
New Column =
if('Table'[TASK]="Design Check",'Table'[NAME],blank())
Output:
or if you need Measure, use this:
Measure =
if(max('Table'[TASK])="Design Check",max('Table'[NAME]),BLANK())
output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Hi @Anonymous
Can you post sample data as text and expected output?
Not enough information to go on;
please see this post regarding How to Get Your Question Answered Quickly:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.
4. Relation between your tables
Appreciate your Kudos!!
LinkedIn:www.linkedin.com/in/vahid-dm/
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
14 | |
13 | |
11 | |
9 | |
8 |