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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
WelschLucas54
New Member

Group By (Table.Group) Expression.Error : unable to apply the .. operator to Null and Null types.

Hi Everyone,

I want to sum the "DuréeJour" by "ListDate" in order to get one unique date face to a "duréejour" value

So this is my table :

WelschLucas54_0-1660136953276.png

To do this, i use this Group by function :

WelschLucas54_1-1660137180599.png

But after, I got a problem in power query with a Table.Group function :

= Table.Group(#"Autres colonnes supprimées", {"ListDate"}, {{"Nombre", each List.Sum([Duréejour]), type number}})

Expression.Error: Sorry... We were unable to apply the .. operator to Null and Null types.
Details :
Operator=..
Left=
Right=

WelschLucas54_2-1660137228444.png

Could anyone advise me to find another way to do this ?

Thanks in advance.

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@WelschLucas54 , You should generate the profile on complete data, there option on the status bar, below the data

 

and remove the null/blank rows or values

 

amitchandak_0-1660141547588.png

 

View solution in original post

2 REPLIES 2
WelschLucas54
New Member

Thanks @amitchandak i find the problem with this👍 , i always find me so silly when i see this kind of little thing block me 😅

amitchandak
Super User
Super User

@WelschLucas54 , You should generate the profile on complete data, there option on the status bar, below the data

 

and remove the null/blank rows or values

 

amitchandak_0-1660141547588.png

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.