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
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
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.