Hi team,
I need to create a simple measure to bring the name of a company.
The goal is to show the description in a measure, so I can use it later in an If statement .
Please not there will be always only one true.
Can you please help?
Oid |
Code |
Description |
Active |
1 |
AAA |
Milford Sound |
TRUE |
2 |
BBB |
Old Milford |
FALSE |
Hi @ezenunez, I noticed you didn’t provide a PBIX file. Providing one will help users and experts find a solution to your inquiry faster and better.
A perfect initial question includes all of the following:
-
A clear explanation of the problem you are experiencing
-
A mockup of the results you want to achieve
-
Your current work-in-progress PBIX file
-
Your underlying data file (to allow us to go into Power Query if necessary to transform your data and/or data model – often DAX questions really end up being data modeling solutions)
Check out this thread on Tools and Techniques for Providing PBIX Files with Your Forum Questions
Not completing your data may sometimes cause delay in getting an answer.
Measure solved! Thanks anyway
Company Name =
FIRSTNONBLANK(
CALCULATETABLE(values(Company[Description]),
filter(Company, Company[Active] == True()))
,0)