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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Evandam
Helper II
Helper II

transposing

hi,

 

I have a table that translates GL accounts to ratio's. The table looks like this:

Ratio codeGL accounts
1400<4000> + <4010> + <4020> + <4030>
1520(<1400> - <1410>) - <5000> +<6000>
1600

<4070> + <4035> - <4080>

the actual table is more than 30 rows in length and some ratio codes are built up of more than 8 GL accounts.

 

As you can see ratio code 1400 is the sum of GL accounts 4000, 4010, 4020 and 4030. 

I would like to use this information in PBI to generate visuals based in ratio code.

 

I think I need to do some transforming in order to use this data. I think that the following structure/layout is more usefull:

 

Ratio codeGL account
14004000
14004010
14004020
14004030
15201400
15201410

etc...

 

when i have this table i can calculate, for instance the reported amount via IF statements.

 

Any thoughts on this how to execute?

Or maybe other solutions that would be better in this case?

 

 

Thanks 

Erwin

 

 

1 ACCEPTED SOLUTION
vanessafvg
Super User
Super User

you should be able to use the unpivot, however i am unsure what your source data looks like? is  it the top pic?  





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




View solution in original post

1 REPLY 1
vanessafvg
Super User
Super User

you should be able to use the unpivot, however i am unsure what your source data looks like? is  it the top pic?  





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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