George Zervas’ Post

View profile for George Zervas

MEng. | Senior Data Engineer at Alpha Bank

I challenge my self last week, if I can transform a static Excel KPI Dashboard that I found on the internet into PowerBi. The challenge was real because in excel Report the first 3 columns where measures showing the % of a Grade, and the rest was time slots (x) for specific attributes (y). There were also a total row in which I should display the lowest % of each % Grade and for each timeslot. I have to challenge 2 different things, measures into x axis in PowerBi which is not acceptable from the tool and the custom Total row. So I started by bringing the data into the correct format and I decided to split them into two tables in which the aggregation level was different. Table 1.: I transformed the table an unpivot Grade columns from rows to columns in order to create calculated columns instead of measures about each Grade (Pass, Mid, Fail ) and display them in a matrix as rows. I also aggregated the data and deleting time slots. Table 2.: I used the same data with the first table, I kept timeslots and the Grades of each attribute. I connected this table with the first one (many:1) not in timeslot level but one level up in order to have info from 2 tables into one matrix without duplicates. About the custom total row I kept table 1. And 2. And I added one row (ADDCOLUMNS) with the same number of columns each time. In each union I added a calculation in order to search for the lowest grade. I started from Fail, then Mid then Pass. The struggle was real but mission accomplished. I haven’t achieved to combine those tables because each of them has different cardinality, first one in Grade and the second one in TimeSlot. #PowerBi #Challenge #Data #KPI #Reporting #Excel

  • table

To view or add a comment, sign in

Explore content categories