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
Hi everybody
I have a table with number of records of species "Cuenta" in a sample. I want to aplicate the natural logarithm (LN) to each of them and I use this DAX:
Thanks in advance
Solved! Go to Solution.
write another measure like this
=SUMX(VALUES('yourtable'[especie]),[Medida])
write another measure like this
=SUMX(VALUES('yourtable'[especie]),[Medida])
Try the following :
Medida =
IF(
HASONEVALUE(Hoja1[SpeciesColumn]), -
LN(SUM(Hoja1[cuenta])),
SUMX(VALUES(Hoja1[SpeciesColumn]), LN(SUM(Hoja1[cuenta])))
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 42 | |
| 21 | |
| 18 |