Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I am pulling the Average Cost and Average Invoice Charge for a part. My next column is how many times it occurred, which is 88 times. I now need a column that tells me how many times the Invoice Charge was above the average. How can I do this?
Solved! Go to Solution.
Depends on your data model.
If you have a table of Products with Average Invoice Charge and another table with your Invoices, then you could link the two tables on something like Product ID and then add a calculated column or measure like:
AboveAverage = CALCULATE(COUNTROWS(RELATEDTABLE(Invoices)),Invoices[InvoiceCharge]>Products[AverageInvoiceCharge]),
Something like that.
Depends on your data model.
If you have a table of Products with Average Invoice Charge and another table with your Invoices, then you could link the two tables on something like Product ID and then add a calculated column or measure like:
AboveAverage = CALCULATE(COUNTROWS(RELATEDTABLE(Invoices)),Invoices[InvoiceCharge]>Products[AverageInvoiceCharge]),
Something like that.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 50 | |
| 33 | |
| 32 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 64 | |
| 64 | |
| 41 | |
| 27 | |
| 24 |