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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
nishantr
Frequent Visitor

Aggregate Value

Where am I going wrong ? I want to filter the quantity sold field month wise but its showing me an aggregate value.

 

query.PNG

9 REPLIES 9
v-xiaotang
Community Support
Community Support

Hi @nishantr 

Have you solved this problem? If yes, to help others find answer faster, could you kindly accept the answer helpful as the solution (or kindly share your solution to improve Power BI).
Really appreciate!


Best Regards,
Community Support Team _Tang

v-xiaotang
Community Support
Community Support

Hi @nishantr 

This error is because visual failed to get the start of month, and Quantity sold is an aggregate value,

vxiaotang_0-1631264420423.png

could you share your sample file? you can remove sensitive information and replace it with fake data. I'll test it later.

 

 

Best Regards,

Community Support Team _Tang

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

 

parry2k
Super User
Super User

@nishantr can you make sure the date column in your transaction table doesn't have a time portion in it, is it a date/time column or just a date? Can you share the preview of transaction date data in Power Query?

 

Follow us on LinkedIn

 

Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

parry2k
Super User
Super User

@nishantr do you have a relationship between these two tables? if yes, on which column? 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

TomMartens
Super User
Super User

Hey @nishantr ,

 

I assume that the Quantity sold and the Start of Month column are from two different tables and that both tables are related by a date column. My 2nd assumption is that one of the columns contains a time part. Removing the timepart (changing the data type not just the format) can resolve the issue.

 

If not, provide more information about the tables that are hosting the columns you are using in your visual.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

@parry2k @TomMartens  the tables do have a relationship , its between Date and transaction date ,also used an inactive relationship . I feel its because of the data type but i checked everything looks correct.query2.PNG

 

parry2k
Super User
Super User

@nishantr what is start of month column? Can you post sample data? It is not clear from screenshot?

 Read this post to get your answer quickly.

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Its the Month names for all the rows

quer1.PNG

So everytime I am adding the quantity sold into the value field its giving me a aggregate number and not month wise

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.