Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a sample table, in that i sales id i need to create the age for the sales id's as per the status
if the status is open
From "Created Date" till Today ; If CLOSED (WON or LOST) From "Created Date" till "WonLostDate"
kindly help me on this
need to write a measure
Solved! Go to Solution.
@Mahesh450 Maybe:
Column =
SWITCH(TRUE(),
[Status] = "Open", ( TODAY() - [Created Date] ) * 1.,
[Status] = "Won" || [Status] = "Lost", ( [WonLostDate] - [Created Date] ) * 1.
)
@Mahesh450 Maybe:
Column =
SWITCH(TRUE(),
[Status] = "Open", ( TODAY() - [Created Date] ) * 1.,
[Status] = "Won" || [Status] = "Lost", ( [WonLostDate] - [Created Date] ) * 1.
)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
37 | |
25 | |
19 | |
14 | |
8 |
User | Count |
---|---|
68 | |
48 | |
45 | |
18 | |
15 |