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
NikkiSavage
Helper II
Helper II

Group by not picking up data

Hi.

I have built a report that was previously working fine. 

I have done a data refresh and for some reason, the group by is not working properly. 

Data is confidential so I can't share but as an example, I have a patient, A Brown who records weight loss across weekly weigh ins. My 'group by' essentially groups all the weigh in changes for a month for each patient. For every month up to June, the data is working perfectly. However in June, a "null" value is being returned for the patient location, month and weight change summary. All other months for the patient are working fine though and some patients are working fine for June. Why would the June data for some patients not be returning data from the grouped rows function properly?

Thanks.

7 REPLIES 7
v-janeyg-msft
Community Support
Community Support

Hello, @NikkiSavage 

 

Any updates?

I couldn't fix it so had to rebuild it. Time will tell with the next data refresh if it happens again.

NikkiSavage
Helper II
Helper II

The above shows the errors showing as null, the applied steps on the query errors and the applied steps in the original query

Hi, @NikkiSavage 

 

Did you insert any steps that caused the error? I see that the data is all null. Can you check which step started the data change?

 

Best Regards

Janey Guo

 

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

NikkiSavage
Helper II
Helper II

NikkiSavage_0-1625628720822.png

NikkiSavage_1-1625628733706.pngNikkiSavage_2-1625628744993.png

 

NikkiSavage
Helper II
Helper II

Hi. I am not using the table visual. The issue is within power query editor when I upload new data for June.

It seems to be a problem with data grouping. For example, all the entries for one patient correctly group for each month up to and including May. However, when I refresh the data, I am getting 'null' values in the columns for location, todate start of month (which is a custom column that I built in) and weight change (which is what I was summing thr grouping on). Some patients it works absolutely fine and is returning all the relevant data but some it isn't. And where it isn't, it is only when it gets to June (which is the new data that I have refreshed for) is it returning 'null' values.

amitchandak
Super User
Super User

@NikkiSavage , Are you using table visual?

I observed that data was not grouping in table visual after the recent upgrade.

 

Is it a problem with data grouping or you are getting additional blank values, which are not there in the 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.