cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vjnvinod
Super User
Super User

Power BI Tricky new question

Dear community,

 

Below is what is visual in my power Bi dashboard

 

Parent Cost TypePlan TotalMLOActual USD Constant
PTW73506.222597350617098
People Cost68571.106536857130362
SLSL30184.640453018511717
Other0079
Sold Time-5261.96957-5262-2986

 

i would like to achieve below

 

Parent Cost TypePTWPeople CostSLSLOtherSold Time
Plan Total73506.2225968571.10730184.640-5261.97
MLO7350668571301850-5262
Actual USD Constant17098303621171779-2986

 

let me know how can i achieve this?

5 REPLIES 5
Greg_Deckler
Super User
Super User

That greatly depends on what your original source data looks like, how is that structured? Is it like the first table? 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler

 

yes, it is structured like my firtst table

Try to follow the below steps 

Demote to header as rowDemote to header as rowTransposeTransposeAfter TransposeAfter TransposePromote first row as headerPromote first row as header

@Baskar

 

unfortunately, this dataset is very small, as i have only provided the visuals table.

i am not in favour of doing this in power query, as this could effect my dashboard.

 

is there any mesure we can create?

 

 

Can please share your PBIX file with sample data.

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors