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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Transposing a Table Challenge

I am wanting to transpose and condense a table outside of just pressing the transpose button and remove duplicates.

 

Contract #                          Date         Posted Price

7 DAY ROLL12/1/2019-0.0078
7 DAY ROLL1/1/20200.1764
7 DAY ROLL2/1/20200.195
7 DAY ROLL3/1/2020-0.1885
7 DAY ROLL4/1/2020-0.4036
7 DAY ROLL5/1/2020-8.0643
7 DAY ROLL6/1/2020-2.8271
7 DAY ROLL7/1/2020-0.3903
7 DAY ROLL8/1/2020-0.2019
7 DAY ROLL9/1/2020-0.3199
7 DAY ROLL10/1/2020-0.4292
2/3;1/3 FIXED ROLL12/1/2019-0.0078
2/3;1/3 FIXED ROLL1/1/20200.1793
2/3;1/3 FIXED ROLL2/1/20200.2002
2/3;1/3 FIXED ROLL3/1/2020-0.1946
2/3;1/3 FIXED ROLL4/1/2020-0.4174
2/3;1/3 FIXED ROLL5/1/2020-7.8894
2/3;1/3 FIXED ROLL6/1/2020-2.9524
2/3;1/3 FIXED ROLL7/1/2020-0.3935
2/3;1/3 FIXED ROLL8/1/2020-0.1985
2/3;1/3 FIXED ROLL9/1/2020-0.3394
2/3;1/3 FIXED ROLL10/1/2020-0.4215
ACT-TRADE DAYS ROLL5/1/2020-7.9437
ACT-TRADE DAYS ROLL6/1/2020-2.8385
ACT-TRADE DAYS ROLL7/1/2020-0.4025
ACT-TRADE DAYS ROLL8/1/2020-0.1985
ACT-TRADE DAYS ROLL9/1/2020-0.3255
ACT-TRADE DAYS ROLL10/1/2020-0.4324
ARGUS CMA DIFF5/1/2020-6.2171
ARGUS CMA DIFF6/1/2020-1.8085
ARGUS CMA DIFF7/1/2020-0.3374
ARGUS CMA DIFF8/1/2020-0.167
ARGUS CMA DIFF9/1/2020-0.2873
ARGUS CMA DIFF10/1/2020-0.3868
ARGUS MID/CUSH DIFF12/1/20191.029
ARGUS MID/CUSH DIFF1/1/20201.0011
ARGUS MID/CUSH DIFF2/1/20200.773
ARGUS MID/CUSH DIFF3/1/20200.809
ARGUS MID/CUSH DIFF4/1/2020-0.2676
ARGUS MID/CUSH DIFF5/1/2020-2.3938
ARGUS MID/CUSH DIFF6/1/20201.8395
ARGUS MID/CUSH DIFF7/1/20200.1057
ARGUS MID/CUSH DIFF8/1/20200.257
ARGUS MID/CUSH DIFF9/1/20200.0459
ARGUS MID/CUSH DIFF10/1/20200.15
ARGUS P PLUS12/1/20193.3762
ARGUS P PLUS1/1/20203.5663
ARGUS P PLUS2/1/20203.5375
ARGUS P PLUS3/1/20203.1976
ARGUS P PLUS4/1/20202.311
ARGUS P PLUS5/1/2020-2.8371
ARGUS P PLUS6/1/20201.5715
ARGUS P PLUS7/1/20203.0126
ARGUS P PLUS8/1/20203.213
ARGUS P PLUS9/1/20203.0927
ARGUS P PLUS10/1/20202.9932
ARGUS WTI/WTS12/1/20190.759
ARGUS WTI/WTS1/1/20200.2358
ARGUS WTI/WTS2/1/20200.043
ARGUS WTI/WTS3/1/20200.649
ARGUS WTI/WTS4/1/2020-0.4986
ARGUS WTI/WTS5/1/2020-3.6971
ARGUS WTI/WTS6/1/20202.347
ARGUS WTI/WTS7/1/2020-0.2122
ARGUS WTI/WTS8/1/20200.1495
ARGUS WTI/WTS9/1/20200.1018
ARGUS WTI/WTS10/1/20200.0632
ENT WTI9/1/202036.0777
NYMEX CMA-T5/1/202028.5275
NYMEX CMA-T6/1/202038.3136
NYMEX CMA-T7/1/202040.7659
NYMEX CMA-T8/1/202042.3881
NYMEX CMA-T9/1/202039.6257
NYMEX-CMA-A12/1/201959.84
NYMEX-CMA-A1/1/202057.9787
NYMEX-CMA-A2/1/202050.7493
NYMEX-CMA-A3/1/202030.5955
NYMEX-CMA-A4/1/202018.202
NYMEX-CMA-A5/1/202028.6832
NYMEX-CMA-A6/1/202038.3667
NYMEX-CMA-A7/1/202040.7632
NYMEX-CMA-A8/1/202042.1861
NYMEX-CMA-A9/1/202039.6277
P66 WTI12/1/201956.46
P66 WTI1/1/202054.5987
P66 WTI2/1/202047.3693
P66 WTI3/1/202027.2252
P66 WTI4/1/202014.822
P66 WTI5/1/202025.3032
P66 WTI6/1/202034.9867
P66 WTI7/1/202037.3832
P66 WTI8/1/202038.8061
P66 WTI9/1/202036.2477
PLAINS WTI2/1/202047.2328
PLAINS WTI3/1/202027.0726
PLAINS WTI4/1/202014.6833
PLAINS WTI5/1/202025.1694
PLAINS WTI6/1/202034.85
PLAINS WTI7/1/202037.2419
PLAINS WTI8/1/202038.6694
PLAINS WTI9/1/202036.1086
VALERO10/1/2020null
WTI/WTS DIFF12/1/20190.759
WTI/WTS DIFF3/1/20200.5262
WTI/WTS DIFF4/1/2020-0.4071
WTI/WTS DIFF5/1/2020-2.8681
WTI/WTS DIFF6/1/20202.347
WTI/WTS DIFF7/1/2020-0.2122
WTI/WTS DIFF8/1/20200.1495
WTI/WTS DIFF9/1/20200.1018
WTI/WTS DIFF10/1/20200.0632

 

How do I transpose this to look like this?

Price12/1/20191/1/20202/1/20203/1/20204/1/20205/1/20206/1/20207/1/20208/1/20209/1/202010/1/2020
          7 DAY ROLL $    (0.01) $       0.18 $       0.20 $    (0.19) $    (0.40) $    (8.06) $    (2.83) $    (0.39) $    (0.20) $    (0.32) $    (0.43)
  2/3;1/3 FIXED ROLL $    (0.01) $       0.18 $       0.20 $    (0.19) $    (0.42) $    (7.89) $    (2.95) $    (0.39) $    (0.20) $    (0.34) $    (0.42)
ACT-TRADE DAYS ROLL  $           -   $           -   $           -   $           -   $           -   $    (7.94) $    (2.84) $    (0.40) $    (0.20) $    (0.33) $    (0.43)
ARGUS CMA DIFF       $           -   $           -   $           -   $           -   $           -   $    (6.22) $    (1.81) $    (0.34) $    (0.17) $    (0.29) $    (0.39)
ARGUS MID/CUSH DIFF  $       1.03 $       1.00 $       0.77 $       0.81 $    (0.27) $    (2.39) $       1.84 $       0.11 $       0.26 $       0.05 $       0.15
ARGUS P PLUS         $       3.38 $       3.57 $       3.54 $       3.20 $       2.31 $    (2.84) $       1.57 $       3.01 $       3.21 $       3.09 $       2.99
ARGUS WTI/WTS        $       0.76 $       0.24 $       0.04 $       0.65 $    (0.50) $    (3.70) $       2.35 $    (0.21) $       0.15 $       0.10 $       0.06
ENT WTI              $           -   $           -   $           -   $           -   $           -   $           -   $           -   $           -   $           -   $    36.08 $           -  
NYMEX CMA-T          $           -   $           -   $           -   $           -   $           -   $    28.53 $    38.31 $    40.77 $    42.39 $    39.63 $           -  
NYMEX-CMA-A          $    59.84 $    57.98 $    50.75 $    30.60 $    18.20 $    28.68 $    38.37 $    40.76 $    42.19 $    39.63 $           -  
P66 WTI              $    56.46 $    54.60 $    47.37 $    27.23 $    14.82 $    25.30 $    34.99 $    37.38 $    38.81 $    36.25 $           -  
PLAINS WTI           $           -   $           -   $    47.23 $    27.07 $    14.68 $    25.17 $    34.85 $    37.24 $    38.67 $    36.11 $           -  
VALERO               $           -   $           -   $           -   $           -   $           -   $           -   $           -   $           -   $           -   $           -   $           -  
WTI/WTS DIFF         $       0.76 $           -   $           -   $       0.53 $    (0.41) $    (2.87) $       2.35 $    (0.21) $       0.15 $       0.10 $       0.06

 

 

@HotChilli  I bet you know! 😄

 

thanks in advance all!

Austin

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

@Anonymous I don't generally ask why people want to do things, but this seems like a really bad idea in general for data analysis in Power BI. With the data the way you have it, you could easily create a matrix visualization in the form you are showing as output.



Follow on LinkedIn
@ 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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

@Greg_Deckler  It is complicated to explain without all the tables involved. But basically I am needing a way to relate the data to other fields in my report. 

 

What I am intending to do is simplify and condense the data to make it easier to do lookups and write formulas. 

 

Austin

Anonymous
Not applicable

I'd like to see the formulas that will become "easier" by doing what you're trying to do :))) With your idea you're going right against Best Practices of dimensional modeling and the philosophy of Power BI. Just wanted to let you know 🙂

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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