The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
7 | |
7 |