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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Does table column position matter??

Hi all

 

I have a table with columns from different tables.

There was some strange behaviour, my value columns total sum is correct, but there are rows with no entries. Like theyre hidden. (export to excel and summarizing there gives a wrong result)

 

So Power BI know that these values should be counted, but hides them.

I found out, that if i position the value columns in fron of some columns that contain empty values it works as intended.

I set "Show elements without data" to true and had to set the value column to "do not summarize" to true as well. (Sum gives entry rows again).

1.PNG2.PNG

 

I cant figure out why is that, anybody has an idea to this?

1 ACCEPTED SOLUTION
v-xicai
Community Support
Community Support

Hi  @Anonymous ,

 

You can refer to the similar case, from the discussion of our engineers and designers, we know this behavior is by design. About the order of the fields matter, the documentation has an article explaining why the result is different depending on the order, see: https://docs.microsoft.com/en-us/power-bi/desktop-show-items-no-data .

 

Based on my test, changing the order of the columns , removing and re-adding fields will change the results . To work around the issue, you need to display all fields of the same table next to each other.

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-xicai
Community Support
Community Support

Hi  @Anonymous ,

 

You can refer to the similar case, from the discussion of our engineers and designers, we know this behavior is by design. About the order of the fields matter, the documentation has an article explaining why the result is different depending on the order, see: https://docs.microsoft.com/en-us/power-bi/desktop-show-items-no-data .

 

Based on my test, changing the order of the columns , removing and re-adding fields will change the results . To work around the issue, you need to display all fields of the same table next to each other.

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi @v-xicai 

 

Wow, thank you for the provided article and other case.

I had similar "problems" with another report, i couldnt explain why exported data was different than the totals in the pbi report.

 

So do i understand it correctly, when all fields would be in the same table there wouldnt be an issue.

How would you suggest to join the tables? Edit query and then join every table until its all in one?

 

Thanks

Hi @Anonymous ,

 

>>To work around the issue, you need to display all fields of the same table next to each other.

 

The words above mean that you might display the fields which from the same table in order next to each other. For example, the displaying column order can be TableA[A1] , TableA[A2] and TableB[B], but not in order TableA[A1] , TableB[B] and TableA[A2] .

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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