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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
I hope everyone is good.
I have:
Hello everyone. I hope you all are great!.
The column # Rows = COUNTROWS('QUERY SQL ROCHA DESDE 2020')
The column # total sin late = CALCULATE([# Rows],ALL('QUERY SQL ROCHA DESDE 2020'[LATE_DELIVERY_REASON]))
Now I need to calculate each row of "# Rows" by the total of "# total sin late" (23.928). Anyone who knows how to do it?
Thanks a lot. Best regards!
Chema ortega
Solved! Go to Solution.
Please try the following DAX:
column =
Var _sum_sin_late = SUM('Table'[# total sin late])
RETURN
DIVIDE([# Rows],_sum_sin_late)
Result:
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please try the following DAX:
column =
Var _sum_sin_late = SUM('Table'[# total sin late])
RETURN
DIVIDE([# Rows],_sum_sin_late)
Result:
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ok, thanks a lot, Jialongy!!!
I'll try it. Best regards,
Chema Ortega
There may be context missing with a simple solution like this, but have you tried something like:
Rows by Total =
VAR Rows = COUNTROWS('QUERY SQL ROCHA DESDE 2020')
VAR totalsinlate = CALCULATE([# Rows],ALL('QUERY SQL ROCHA DESDE 2020'[LATE_DELIVERY_REASON]))
RETURN
DIVIDE(Rows, totalsinlate)
Ok, thanks a lot, artisan!!!
I'll try it. Best regards,
Chema Ortega
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |