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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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