Forum Discussion
Proportional Calculation Ignoring Filters
Help, what I'm trying to achieve
I have a series of Topics collected from documents, mentioned across time via date
On some dates we collected more documents, therefore it looks like topics are "more spoken of" at certain times when using a straight count but its actually skewed data
So what I need is a count that takes the amount of a certain topic mention (determined by a filter), divided by number of topics in total on the date (without a filter) - to give me proportional %
and the DAX is just refusing to play nicely
This is what ive wrote
philjohn , Try like
Proportional = DIVIDE(
COUNT('doc_classification'[classification]),
calculate(COUNT('doc_classification'[classification]), all('doc_classification'[classification])) ,
0
)
2 Replies
- amitchandakSuper User
philjohn , Try like
Proportional = DIVIDE(
COUNT('doc_classification'[classification]),
calculate(COUNT('doc_classification'[classification]), all('doc_classification'[classification])) ,
0
)- philjohnFrequent Visitor
Wrap it in a calculate! So close, yet so far - thank you so much