Forum Discussion
half an hour sum
Hi there,
I am trying to calculate the half an hour sum of the column named 'Result' using following formula
Link of the file can be found here https://1drv.ms/u/s!AucycxZHFe9TjS6G96JVtgslQLBX?e=60MvUf. Could anyone guide me where I made the mistake
13 Replies
- parry2k
Super User
Dunner2020 I think this is what you are looking for:
30min sum = SUMX(VALUES(Times[Half Hour]),[Result])I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
- Dunner2020
Post Prodigy
Hi parry2k , Thanks for your reply.
I tried with
30min sum = SUMX(VALUES(Times[Half Hour]),[Result])
But it did not produce the desired result. It did not sum up the value based on half an hour.
Here is the result:
- AnonymousNot applicable
Can you give me a couple of examples of your desired results?
- v-juanli-msft
Community Support
Hi Dunner2020
Is this problem sloved?
If it is sloved, could you kindly accept it as a solution to close this case and help the other members find it more quickly?
If not, please feel free to let me know.
Best Regards
Maggie
- Dunner2020
Post Prodigy
- v-juanli-msft
Community Support
Hi Dunner2020
You could relate [half hour] from "Times" table into your main table to create a [new half hour] column, then use this column in your measure instead of "Times'[Half Hour].
Best Regards
Maggie