Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have a ds like this:
person | sales | cost |
a | 4 | 5 |
a | 6 | 4 |
a | 2 | 3 |
a | 6 | 5 |
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
person | sales OR cost |
a | 18 OR 17 |
Solved! Go to Solution.
@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
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:
As @amitchandak suggested,you could also try to create measure:
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])
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.
@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
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
72 | |
37 | |
31 | |
26 |
User | Count |
---|---|
95 | |
50 | |
43 | |
40 | |
35 |