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.
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
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 |
---|---|
106 | |
93 | |
75 | |
62 | |
50 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |