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.
All,
I am making a table in PBI and have all I need except for one missing piece.
The highlighted event represents a problem that occurs occasionally.
I have the Last Crew field which simply is this the last unitname frim the crew action table:
If that field is blank though, I want to take the Who Completed field listed right beside it.
Does anyone know a dax formula (I'm sure it is some sort of IF statement) to combine those two into one column? I am unsure how the Last option in field wells work, so any insight would be amazing.
Thanks!
If I can provide any more insight, please let me know.
Hi @Anonymous
Has your problem been solved ? If it has been solved, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regard
Community Support Team _ Ailsa Tao
Hi Collin,
Are "Last Crew" and "Who completed" fields from the same table ?
You can simply create une new column with this formula :
They are joined in the model view on event_idx if that provides any additional insight
They are in two separate tables. The last crew was unitname from the 'Crew Actions' table and Who Completed is from the 'Jobs' table. I am using the Last function on the dropdown to get the last crew, so I am not necessarily sure how to write that in DAX. That is where my confusion is coming from.
Do you have a date field in the 'Jobs' table ?
If so, you could make both tables related using a calendar table.
This is how the statement should look but it is telling me they aren't related, but they are.
I renamed 'unitname' to 'last crew' so end users don't get confused.
Bump
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 |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
144 | |
109 | |
108 | |
88 | |
61 |