Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello,
I know that aggregations in Power BI is a common problem, and I've certainly read up on it but it still eludes me. Please see highlights in the screen shot below. I'm trying to get the percentage of "Total" divided by "Standard." The red "%** of Standard" columns shows the [incorrect] measure using only the DIVIDE function. The test "Measure" column, which uses the DAX shown far below, shows zero values. For refernece, the "Press Activity Log" table and "Press Standards" log table are related via another table (also shown below).
Any ideas? Please let me know if need to provide more info. Thanks.
Measure = IF(HASONEFILTER('Press Activity Log'[DATE]),DIVIDE(SUM('Press Activity Log'[TOTAL CYCLES PER HOUR]),SUM('Press Standards'[STD CYCLES PER HR])))
You may check if the following post helps.
https://community.powerbi.com/t5/Desktop/Labour-Efficiency/m-p/565837#M267006
User | Count |
---|---|
128 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
137 | |
115 | |
102 | |
71 | |
61 |