Forum Discussion

ItoDiaz's avatar
ItoDiaz
Icon for Helper I rankHelper I
6 years ago

Reversing my master tab

Hello, 

 

In Excel I have two tab, “Master” and “Red P”.  Initially, I needed use only “conformity toy” and “conformity CP” columns in Power BI. 

 

Now I need to show in a Histogram conformity of each CP, (I have 23 CP columns) by day. To have a good visual I « need » to reverse my 23 columns in rows and my date column in  columns (problem I have 8423 rows because date column is a datatime type). I would use SUMPRODUCT in excel (see "red P" tab). It means to create at least 366 columns (one by day) by year!!! I think it is a pity to use Power BI only to create visuals. I would like to do this table in Power BI and make it automatic because, of course, I will update my database “Master” with new data each day.  

 

My “Red P” tab show an example of “reversed matrix” in Excel when I only needed to show conformity in YTD and for the current month. It also show what I need as visual.     

 

Please, I just started using Power BI, could you give some ideas with good descriptions of steps to do it (in Power BI)? And the useful DAX or query M functions…  

5 Replies