Forum Discussion
RoadeoAnalytics
3 years agoAdvocate I
Power BI DAX Calculation
Hi, I would like some help figuring out how to derive at revenue per driver for the attached dataset. I've gotten this to work on a high level, but when it's filtered by driver, it returns blank....
RaocoSolutions
3 years agoRegular Visitor
RevenueDriverPU =
VAR _avgPU = Calculate(AVERAGE('All P&D Tables'[Rate$/PU #PKG]),ALL('All P&D Tables'[DRIVER NAME]))
return
SUM('All P&D Tables'[PU #PKG AI]) * _avgPU
RoadeoAnalytics
3 years agoAdvocate I
RaocoSolutions From initial testing, works great! Thank you, RaocoSolutions, really appreciate your help with this.