Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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])))
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
78 | |
52 | |
39 | |
35 |
User | Count |
---|---|
94 | |
79 | |
51 | |
47 | |
47 |