Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hey,
I am having some trouble with an equation, I have a column of data for TotalEnergy, and this column accumulates all the energy in total for different devices, and I wanna make a column for that takes current value minus previous for a specific device, I had a function that worked well:
It does eaxctly what I want it to do, BUT Iam getting an error saying there is not enough memory capacity, it works fine when I filter it down to one device for example, but not with several. (There is only 71.000 rows of data aswell!) Is it possible to write this as a measure maybe? Or is there any other way I can write it?
Also I have started to try this equation, but I don't know where to add so it it just for the specific device, this equation only takes current value minus previous row undependent on what device it is:
Hi @Anonymous
You may try to add a rank column instead of index for the specific device for your data. Then you may use the second way as you said. Please check my formula in below post. If you need further help,please share some data sample.
https://community.powerbi.com/t5/Desktop/Time-Taken-for-a-ticket-in-Audit-log/m-p/586239#M277826
Regards,
Cherie
Thanks!
I am doing the rankx formula, but I can't use the formula in to calculate the energy, I just get the answer I can't use it as a multiple scalar, (It gets many ranking number that will be the same, as for I have five different products, I willl get 5 different Rank 1), Is it possible to use the RankX for this question then?
I want a formula that take the value minus the value of previous index for that product.
Kind regards
Hi,
thanks, but I don´t understand why a ranked column would be better then the index, where would I even put in the formula? Also do you know why the first one wont work?
Kind regards
Hi @Anonymous
It seems an issue with memory. Here is the article for your reference. You may try to optimize your model and formula. If you could share the file, it would be better for us to help further on it.
Regards,
Cherie
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
80 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |