Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Experts,
I want to divide 3 columns which come directly frm DB.
round((@StuAct / nullif(@StuCount,0) / nullif(@WorkingHrs,0) ) / 6,1)
@PSan1979 are you using import or direct query? You can do this as a calculated column pretty straightforward, or do do it as a measure you will need to add an aggregation (such as SUM, AVERAGE or MAX)
Please can you describe what output you want in words, not just SQL?
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.