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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Giada90
Helper III
Helper III

field parameter doesn't aggregate

Hi,

I have a ds like this:

personsalescost
a45
a64
a23
a65

 

if I make a field paramet

er and I make a table, I can't aggregate.

What I need is something like this:  how can I do? I'm using columns not measures

personsales OR cost
a18 OR 17
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Giada90 , You have to create measures for Sum of Sales and Sum of Cost. The field parameters on a column will be used for group by ( not summarize) in a visual 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hello,@amitchandak ,thanks for your concern about this issue.

Your answer is excellent!And I would like to share some additional solutions below.
Hi,@Giada90 .I am glad to help you.

You could try to change the vsiual name:

vjtianmsft_1-1721809916066.png

 

As @amitchandak suggested,you could also try to create measure:

vjtianmsft_2-1721810155507.png
Creating strings for splicing functions of measure: sales OR cost

sales OR cost = FORMAT([M_cost],"General Number")&" OR "&FORMAT([M_sales],"General Number")

M_cost = SUM('Table'[cost])

M_sales = SUM('Table'[sales])

vjtianmsft_3-1721810189739.png

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.

Best Regards,

Carson Jian,

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

amitchandak
Super User
Super User

@Giada90 , You have to create measures for Sum of Sales and Sum of Cost. The field parameters on a column will be used for group by ( not summarize) in a visual 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors