Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Need help on below

I have a table like below 

 

Employee nameGroupTest Name
RamuProduction 
ArjunTestArjun

Need a mesuare if group column will be test then employee name should be Arjun show under test name column  other will be blank, please share a measuare 

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @Anonymous ,

 

try to plot the mentioned columns with a measure like:

 

Test Name = 
IF(
    MAX(data[Group]) = "Test", 
    "Arjun", ""
)

 

or 

Test Name = 
IF(
    MAX(data[Group]) = "Test", 
    MAX(data[Employee name]), ""
)

 

it worked like:

FreemanZ_0-1702818849840.png

View solution in original post

6 REPLIES 6
FreemanZ
Super User
Super User

hi @Anonymous ,

 

try to plot the mentioned columns with a measure like:

 

Test Name = 
IF(
    MAX(data[Group]) = "Test", 
    "Arjun", ""
)

 

or 

Test Name = 
IF(
    MAX(data[Group]) = "Test", 
    MAX(data[Employee name]), ""
)

 

it worked like:

FreemanZ_0-1702818849840.png

Anonymous
Not applicable

@FreemanZ :-

 

On the IF condition its taking very long time loading into the visual on the below measure (its performance issue coming)

Test Name = 
IF(
    MAX(data[Group]) = "Test", 
    MAX(data[Employee name]), ""
)

Kindly check and provide if other way to develop dax 

we will wait for your response 

Tom_Y
Advocate II
Advocate II

Use Add Column?

Test Name = IF('Table'[Group]="Test", 'Table'[Employee], BLANK())

Tom_Y_0-1702647719998.png

 

Anonymous
Not applicable

Hi Tom,

 

Thanks for your  support

i have connected live connection .... required a DAX , so kindly please check and provide the details 

 

 

It's DAX. Just click "Add Column" and paste, and reivse to fit your table name/ column name..

Tom_Y_0-1702664904588.png

 

Anonymous
Not applicable

Hi Tom,

 

Thanks for your time.

The data source are connected live data (data fabrication - dataset), after connected live data the new column option will not available ,see the below screenshot

 

MKM_0-1702715932890.png

Please check and share inputs how we can go head 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.