Forum Discussion
Using a measure as ResultIfTrue in IF statement
Hi,
I have "goals" table and "opportunities" table in Power BI. I created a few "Measures" in goals table by using the data in "opportunities" table. One of these measures are as below. Since there is no sensitive data in the formula, I shared it below as is.
Also, there is a multiselect option field in our CRM opportunty entity, field name is "2021 Target". Field is being used to calculate targets. I have splited this field in Power BI to be ale to use it.
Below formula gives the result of that the sum of the revenues of the opportunities which "Hardware Sales Revenue" option has been choosen in the 2021 Target field.
- Anonymous4 years ago
Hi onurkrbck ,
The syntax you used is incorrect. To my knowledge, we could not get the column title via DAX.
I have created a data sample:
Then you could directly use
ABC = [Funnel Hardware Sales Revenue]to create a ABC column.
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
3 Replies
- PC2790
Community Champion
Would it be possible for you to provide the data model?
It'll be easier to understand the problem
- onurkrbckRegular Visitor
Hi,
I am not experienced in Power BI. So my data model could be "weird" to you.
Sorry for the inconvenience 🙂
- AnonymousNot applicable
Hi onurkrbck ,
The syntax you used is incorrect. To my knowledge, we could not get the column title via DAX.
I have created a data sample:
Then you could directly use
ABC = [Funnel Hardware Sales Revenue]to create a ABC column.
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.