Forum Discussion
DAX Help: Extract value based on last execution
- 9 years ago
Hey,
maybe this would be a solution, I'm counting the caseid (distinct count) to get the numbers in this table
I did not use a measure I just changed the Aggregate function in the visuals pane and renamed the column in the visual
Maybe now I'm getting closer
Hey,
can you please share which approach you are using and provide an image of your visualization.
Cheers
I used your approach only, and get the last status successfully,
Now i need to show the Numbers, or passing percentage/pie chart, and that is causing a problem.
- TomMartens9 years agoSuper User
Hey,
maybe this would be a solution, I'm counting the caseid (distinct count) to get the numbers in this table
I did not use a measure I just changed the Aggregate function in the visuals pane and renamed the column in the visual
Maybe now I'm getting closer
- cshashank9 years agoFrequent Visitor
Thank you so much,
I took the hint from smoupre solution and create a measure like:
FAIL= CALCULATE(DISTINCTCOUNT(testcasetbl[TCtitle]),FILTER('SmokeCase',[Latest Status]="FAIL"))
But your solution is definitely much simpler. Thanks a alot.
- TomMartens9 years agoSuper User
Glad we were able to help once again.
Maybe you also consider to create another measure lilke this
No of Cases = CALCULATE( DISTINCTCOUNT('Table1'[CaseID]) )Personally I find such a measure really beneficial in combination with columns like "latest status"
Cheers