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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.