Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Solved! Go to Solution.
Hello @Anonymous
You may try this:
From the drop down option of ID column > Select Show items with no data
For this, I have created the calculated column as per your scenario:
Column =
VAR Col1 = IF(
ISBLANK(Sheet1[Date 1]) || ISBLANK(Sheet1[Date 2]),
BLANK(),
DATEDIFF(Sheet1[Date 1], Sheet1[Date 2],DAY)
)
VAR col2 = IF(
ISBLANK(Sheet1[Date 2]) || ISBLANK(Sheet1[Date 3]),
BLANK(),
DATEDIFF(Sheet1[Date 2], Sheet1[Date 3],DAY)
)
VAR Diff = IF(
ISBLANK(Col1) || ISBLANK(col2),
BLANK(),
Col1 - col2
)
RETURN
Diff
Cheers!
Vivek
If it helps, please mark it as a solution
Kudos would be a cherry on the top 🙂
https://www.vivran.in/
Connect on LinkedIn
Hello @Anonymous
You may try this:
From the drop down option of ID column > Select Show items with no data
For this, I have created the calculated column as per your scenario:
Column =
VAR Col1 = IF(
ISBLANK(Sheet1[Date 1]) || ISBLANK(Sheet1[Date 2]),
BLANK(),
DATEDIFF(Sheet1[Date 1], Sheet1[Date 2],DAY)
)
VAR col2 = IF(
ISBLANK(Sheet1[Date 2]) || ISBLANK(Sheet1[Date 3]),
BLANK(),
DATEDIFF(Sheet1[Date 2], Sheet1[Date 3],DAY)
)
VAR Diff = IF(
ISBLANK(Col1) || ISBLANK(col2),
BLANK(),
Col1 - col2
)
RETURN
Diff
Cheers!
Vivek
If it helps, please mark it as a solution
Kudos would be a cherry on the top 🙂
https://www.vivran.in/
Connect on LinkedIn
On the dimension you have used try
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
109 | |
99 | |
39 | |
31 |