Forum Discussion
Anonymous
8 years agoNot applicable
Query in DAX
Hello Experts, Could you please advise how do I get the below query results in column or measure? select count(i.incident_id) from ATB_Incident i, ATB_Disposition d where i.Dispo...
- 8 years ago
Anonymous
I have an idea
Enter this please and tell me if there is an error or no :
Measure = CALCULATE(COUNT(ATB_Incident[Incident_Id]),ATB_Disposition[Chargable]="Y")
- Quentin
quentin_vigne
8 years agoSolution Sage
Hi Anonymous
The formula you are looking for will look like this : (You need to have relations betweens your tables)
Measure = CALCULATE(COUNT(Incident_id);Dispotion=DispositionCode;Chargable="Y")
It's not 100% exact as I don't really know what your table looks like but if you adapt it, it should work !
- Quentin