Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi! So I have the below table report in my Power Bi report namely Final Time Allocation.
Notice that the TotalTimeLoggedOngoing cells for Avbob and Float are empty, I want to make every other cell in TotalTimeLoggedOngoing equal to the same as whatever BancX equals.
Is there a way that I can do this? Please assist.
Solved! Go to Solution.
@Shaun_Fourie First Identify the value of TotalTimeLoggedOngoing for BancX
DAX
BancX_TotalTimeLoggedOngoing =
CALCULATE(
MAX('Final Time Allocation'[TotalTimeLoggedOngoing]),
'Final Time Allocation'[Customer] = "BancX"
)
Next, create a new calculated column that will fill the empty cells in TotalTimeLoggedOngoing with the value from BancX.
DAX
TotalTimeLoggedOngoing_Filled =
IF(
ISBLANK('Final Time Allocation'[TotalTimeLoggedOngoing]),
[BancX_TotalTimeLoggedOngoing],
'Final Time Allocation'[TotalTimeLoggedOngoing]
)
Use the new column in your report: Replace the TotalTimeLoggedOngoing column in your report with the new TotalTimeLoggedOngoing_Filled column.
Proud to be a Super User! |
|
Resolved! Thank you so much for your time and assistance 🙂
@Shaun_Fourie First Identify the value of TotalTimeLoggedOngoing for BancX
DAX
BancX_TotalTimeLoggedOngoing =
CALCULATE(
MAX('Final Time Allocation'[TotalTimeLoggedOngoing]),
'Final Time Allocation'[Customer] = "BancX"
)
Next, create a new calculated column that will fill the empty cells in TotalTimeLoggedOngoing with the value from BancX.
DAX
TotalTimeLoggedOngoing_Filled =
IF(
ISBLANK('Final Time Allocation'[TotalTimeLoggedOngoing]),
[BancX_TotalTimeLoggedOngoing],
'Final Time Allocation'[TotalTimeLoggedOngoing]
)
Use the new column in your report: Replace the TotalTimeLoggedOngoing column in your report with the new TotalTimeLoggedOngoing_Filled column.
Proud to be a Super User! |
|
Resolved! Thank you so much for your time and assistance 🙂
| User | Count |
|---|---|
| 52 | |
| 35 | |
| 22 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 58 | |
| 39 | |
| 21 | |
| 21 |