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
Landcrab
Helper I
Helper I

Issue using Group By within Dataflow.

Hi,

 

Issue using Group By within Dataflow, how to fix it?

 

Steps to reproduce

 

Power BI Service > Workspaces > Dataflows > Create Dataflow > Define new entities > OData > Enter Business Central 261 G/L Entries OData URL.

 

Remove all columns except:

 

-G_L_Account_No
-Posting_Date
-Dimension_Set_ID
-Amount

 

Highlight Posting_Date > Transform > Date > Month > Start of month

 

Landcrab_2-1597109806931.png

 

Group By > Advanced > Group By all except Amount, SUM Amount

 

Landcrab_1-1597109779990.png

 

After that it throws the following error:

 

Landcrab_0-1597109768917.png
Expression.Error: The key didn't match any rows in the table.DetailsKey = [G_L_Account_No = "6100", Posting_Date = "2020-04-01", Dimension_Set_ID = 123]
Table = #table({"G_L_Account_No", "Posting_Date", "Dimension_Set_ID", "Amount"}, {})


Tried the same Group By using Document Date > Transform > Date > Month > Start of month which also produces the same error.

 

Doing a Group By without a Date columns works perfectly well, but I need the Posting Date 😞

 

Before Group By the Posting Dates shows perfectly well, no errors.

 

How can this be fixed?? Any suggestions please?

 

 

 

 

 

 

 

2 REPLIES 2
Greg_Deckler
Super User
Super User

@Landcrab - Not sure, love the handle though.

 

You could check the Issues forum here:

https://community.powerbi.com/t5/Issues/idb-p/Issues

And if it is not there, then you could post it.

If you have Pro account you could try to open a support ticket. If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Thanks @Greg_Deckler  - Will do that. For now will leave this post open and hopefully be able to come back and post link to or actual solution here 🙂

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.

Top Solution Authors
Top Kudoed Authors