Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
wbhite
Helper I
Helper I

Having trouble with an aggregated measure (common problem, I know, but I'm trying)

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.

 

Capture.PNG

 

Measure = IF(HASONEFILTER('Press Activity Log'[DATE]),DIVIDE(SUM('Press Activity Log'[TOTAL CYCLES PER HOUR]),SUM('Press Standards'[STD CYCLES PER HR])))
Capture2.PNG
1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@wbhite,

 

You may check if the following post helps.

https://community.powerbi.com/t5/Desktop/Labour-Efficiency/m-p/565837#M267006

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.