Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 51369

Re: How to calculate count of IDs per Average Number of Hours bucket

$
0
0

Hi ,

Welcome to learning Power BI and DAX!

I assume you're getting something like this when you try?

image.png

If so, Power BI is treating your Average Number of Hours per Week field as an implicit measure, because it's numeric.

You don't want to change this behaviour, as this is a good candidate for other calculations, but you can change this for the visual that you want to group it in.

In the fields list, click on the caret (down arrow) next to Average Number of Hours per Week and select Don't summarize, e.g.:

image.png

This will tell the visual to group by the unique values rather than aggregate them, and this should give you what you need, e.g.:

image.png

Hopefully this should be all you need to proceed.

Just to let you know, if you have any further questions specific to DAX, then it's generally better to post them in the DAX Commands and Tips forum, as it is a lot more heavily frequented than this developer forum and you'll get a much faster answer. The DAX folks don't look in here too often 😉

All the best,

Daniel


If my post solves your challenge, then please consider accepting as a solution to help other forum members find the answer more quickly 🙂


Viewing all articles
Browse latest Browse all 51369

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>