Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
vjnvinod
Impactful Individual
Impactful Individual

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!:
The Definitive Guide to Power Query (M)

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

vjnvinod
Impactful Individual
Impactful Individual

@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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.