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.
I have a sample table in Power BI that has repeating value for price. The objective is to return the prices for each category without summing-up all the values in row price.
Sample table:
Desired output:
Solved! Go to Solution.
hi @ironboy0418
there are many ways:
you can just plot a table visual with category and price columns. Choose min, max or average for price column.
or
plot a table visual with category columns and a measure like:
measure = MIN(TableName[Price])
or
create a calculated table like:
Table =
ADDCOLUMNS(
VALUES(TableName[Category]),
"Price",
CALCULATE(MIN(TableName[Price]))
)
hi @ironboy0418
there are many ways:
you can just plot a table visual with category and price columns. Choose min, max or average for price column.
or
plot a table visual with category columns and a measure like:
measure = MIN(TableName[Price])
or
create a calculated table like:
Table =
ADDCOLUMNS(
VALUES(TableName[Category]),
"Price",
CALCULATE(MIN(TableName[Price]))
)
Hi,
Why don't you just a table visual, add Category & Price to its Values field and then choose Average or Median in the options for aggregation?
Best Regards,
Alexander
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
24 | |
20 | |
14 | |
12 |
User | Count |
---|---|
55 | |
48 | |
43 | |
19 | |
18 |