Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I'm an absolute beginner, with experience in excel. In powerBI i try to calculate the average instead of subtotals.
I created a calculated field to devide two parameters, that worked:
Field 1 contains the pc's in a specific location that are safe to work in Covid-social distancing. Field 2 contains the pc's that were active and stated safe to work on. Field 4 contains pc's that were active but not safe to wordk on.
The calculated field divides measure 2 by 1, to get the result 3 (I'm kinda proud that that works)
The same happens with field 4 (divided by field 1). The total (field 6) is calculated correctly.
hi @helgekooi
Do you mean for Field 4, it shoudl divide by 1308?
What is formula of measure [Totaal van PC's actief]?
It should as this:
Totaal van PC's actief = Calculate(DISTINCTCOUNT('PC''s'[PC's beschikbaar]), 'PC''s'[150cm] IN {"ja"}))
If not your case, please share your sample pbix file for us have a test.
Regards,
Lin
@helgekooi I would recommend to post the raw sample data and expected output rather than image, it will be easier to work with sample data.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.