Forum Discussion

iruserwin's avatar
iruserwin
New Member
1 year ago
Solved

reporting how to

Hi fabric folks.  I'm not sure if this is a reporting, power query, or dax question.

 

Given data set

 

clientadmin revenue type 1admin revenue type 2admin revenue type 3other revenue type 1other revenue type 2other revenue type 3
bob102025225588
mary202530336699
jane2530

20

447710

 

and desired report

 adminother
revenue type 15599
revenue type 275198
revenue type 375197

 

I dont have seperate records for each revenue type they are instead columns so neither a matrix or table are working for me.

 

I think a DAX total field for each revenue type would perhaps work.  Is that the smartest way however?

Is there a DAX for the label revenue type 1 revenue type 2?

 

Is there a way to make the data become multiple rows?

clientadmin revenue type 1admin revenue type 2admin revenue type 3other revenue type 1other revenue type 2other revenue type 3
bob1000000
bob0200000
bob0025000
bob0002200
bob0000550
bob0000088

 

or even better

 

clientrevenue typeamount
bobadmin revenue type 110
bobadmin revenue type 220
bobadmin revenue type 325
bobother revenue type 122
bobother revenue type 255
bobother revenue type 388

 

 

 

Open to suggestions as to how to proceed.

 

thanks!

 

 

 

 

  • hello iruserwin 

     

    i think you should get your desired result from unpivot table

    - unpivot table

    - split Attribut column by space delimiter at the leftmost

    - plot in matrix visual

     

    Hope this will help.

    Thank you.

4 Replies