Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have a table in excel below whereby the available hours have this formula (=IF($G8<=AK$2,AK$4,IF(AND($G8>=AK$2,$G8<=AK$3),DAYS(AK$3,$G8),0))*24)
G8 is the date which the asset starts operating so the available hours is calculated by taking the 1st day of the month and the last day of the month x 24 hours if the asset is already operating and if the asset starts operating in the middle of the month, it takes that date and the last day of the month x 24 hours.
How do i replicate this in powerbi?
Row1 | ColumnAK | AL | AM | AN |
2 | 1-May-19 | 1-Jun-19 | 1-Jul-19 | 1-Aug-19 |
3 | 31-May-19 | 30-Jun-19 | 31-Jul-19 | 31-Aug-19 |
4 | 31 | 30 | 31 | 31 |
5 | Available Hours | |||
6 | May | June | July | August |
7 | 744 | 720 | 744 | 744 |
8 | 744 | 720 | 744 | 744 |
9 | 744 | 720 | 744 | 744 |
10 | 744 | 720 | 744 | 744 |
11 | 744 | 720 | 744 | 744 |
I only have 2 columns for this in my table. Not sure if I would need more.
2 columns (Asset Name and Start Date).
Somehow I cannot attach the table
@Anonymous , this data is not the correct format for power BI. Make sure data is in tabular format. Please provide the final table model in power bi