Forum Discussion
o59393
Post Prodigy
2 years agoDivide Count ifs equivalent to dax
Hi all How could I get a dax measure like the one below I did in excel? Here is the table: Topic Impact % ABC High 75.00% ABC High 75.00% ABC High 75.00% A...
Jihwan_Kim
Super User
2 years agoHi,
Please check the below picture and the attached pbix file.
It is for creating a new column.
Expected result CC =
VAR _topic =
COUNTROWS ( FILTER ( Data, Data[Topic] = EARLIER ( Data[Topic] ) ) )
VAR _impact =
COUNTROWS (
FILTER (
Data,
Data[Topic] = EARLIER ( Data[Topic] )
&& Data[Impact] = EARLIER ( Data[Impact] )
)
)
RETURN
DIVIDE ( _impact, _topic )
- o593932 years ago
Post Prodigy
- Jihwan_Kim2 years ago
Super User
Hi,
is this written for a measure or a calculated column?
My sample solution is, as mentioned above, for calculated column.
Thanks.
- o593932 years ago
Post Prodigy