Forum Discussion
DAX Count not working
Hi Vinay,
What does your data model look like?
Hi Wilson,
Table 1 is detail and Table 2 is roll-up. The relationship between the two tables is Entity join.
- Wilson_3 years ago
Memorable Member
Vinay,
It sounds like at the very least you would benefit from a dates/calendar table (and perhaps from an entity dimension table). Not the quick fix you were perhaps looking for but it soudns like you would benefit long term from learning about data modeling; a proper data model would make this easier to build than having to overcomplicate the DAX. SQLBI is a phenomenal resource and they have a free intro to data modeling course available.
----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)- vinayguptak813 years agoFrequent Visitor
Hi Wilson,
Thanks for the suggestion. I'll take a look at it.