The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello guys,
I have a formula that is something like this:
RoadmapStart =
IF(
IF(
Roadmap[Aux] = "ROM",
Roadmap[ROM Start].[Date],
Roadmap[In Progress Start].[Date]
) < DATE(2020,01,01),
DATE(2020,01,01),
IF(
Roadmap[Aux] = "ROM",
Roadmap[ROM Start].[Date],
Roadmap[In Progress Start].[Date]
)
)
I was wondering if there is a "fancy" way to write the same thing, like using the result of the second if as a result. That would look something like this:
RoadmapStart =
IF(
IF(
Roadmap[Aux] = "ROM",
Roadmap[ROM Start].[Date],
Roadmap[In Progress Start].[Date]
) < DATE(2020,01,01),
DATE(2020,01,01),
Result // Value
)
Thanks in advance,
Solved! Go to Solution.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
User | Count |
---|---|
28 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
33 | |
13 | |
12 | |
9 | |
7 |