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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
junmin
Helper I
Helper I

Pivot and Null Values

Hi all!

I am relatively new to Power BI, and would really appreciate it if you guys could help me with this! 😞 

powerbi.PNG

 

I have tried pivot column (Transform data -> Pivot column) on ColumnB with values from ColumnC, which actually gave me close enough to what I want but I am having problem with dealing with the null values that come with it: 

powerbi2.PNG

 

I cannot use replace null values directly because the replacement should follow the corresponding values (it has to be under the same date, and then replace the null values with the non-null value in the same column) I have also tried Fill down and Fill up for Column Question1 and Column Question3 but this will not work for Column Question2.

 

Should I not be using Pivot? What other solutions would you all suggest?

 

I hope my question makes sense!! 😞

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

For me it worked using Pivot.
This is the data I used:
Capture3.PNG
Then I used pivot column on ColumnB with values from ColumnC
Capture.PNG
And this is the result
Capture2.PNG

View solution in original post

rayzrbk
New Member

I have the same problem, and using the sum feature, I get null as my values. I start with 

rayzrbk_0-1697665560694.png

And then when I pivot the Yield Item column, I get

rayzrbk_1-1697665615496.png

It pulls the values for the first column, but then every other column that is added from the pivot step shows as null. Any ideas?

View solution in original post

3 REPLIES 3
Tgal_van_die_1
Frequent Visitor

I don't see how this is the solution to the question

rayzrbk
New Member

I have the same problem, and using the sum feature, I get null as my values. I start with 

rayzrbk_0-1697665560694.png

And then when I pivot the Yield Item column, I get

rayzrbk_1-1697665615496.png

It pulls the values for the first column, but then every other column that is added from the pivot step shows as null. Any ideas?

Anonymous
Not applicable

For me it worked using Pivot.
This is the data I used:
Capture3.PNG
Then I used pivot column on ColumnB with values from ColumnC
Capture.PNG
And this is the result
Capture2.PNG

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.