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....
AndrewPF
3 years agoHelper V
You could try wrapping a CALCULATE around your SUM and AVERAGE.
Also, check that the drivers by whom you are filtering have populated values for all the variables within your formulae, otherwise you will end up with blanks.
RoadeoAnalytics
3 years agoAdvocate I
Thank you, Andrew, for your reply. I tried wrapping CALCULATE but it made no difference.
I have merged queries into one table. And yes, the Drivers would be a field that's from a different table and was merged into one big table called All P&D Tables. I think the formula needs to point to these rows where the data is. I've included a link to the pbix file in my original post. Any chance you can take a look?