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 this model :
DATE --> ACTIVITIES
We use the date table to apply a filter on the start date of all activities.
My problem is that I need to also calculated the schedule activities, which have NO start date, I need to use another date column (scheduleddate). So the table link is excluding them all from the calculation, and I have get a null result.
Is there anyway to do the calculation, without keeping the date constraint ? Thanks !
Hi @François
"So the table link is excluding them all from the calculation, and I have get a null result. "
I don't understand this, could you clear me?
do you want this output?
Best Regards
Maggie
Hi Maggie
Almost that. We have a date in one of the two columns actually. So the solution provided here is good, we test which column is filled and use the value in a next column that can be used to link the date table.
Hi @François,
You could create a calculate column in Activities table:
MyDate = IF ( ACTIVITIES[StartDate] = BLANK (), ACTIVITIES[scheduleddate], ACTIVITIES[StartDate] )
Then you can connect date table to activities table by MyDate.
Chiara
Hi Chiara, yes, i thought that it could be possible indeed, that's a confirmation. I was wondering if it was possible with a function in the measure maybe. But I can definitely try this solution otherwise, thank you !
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 |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |