Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi all,
I have a table with the following data:
I want to visualizate in a page, a table with the next info extracted from the previous table. (First date and its fail for each ID) What page filters or visual filters should I add in order to view the following table?
Thanks
Solved! Go to Solution.
Hi @amateu
Please use below measure:
Measure = var a = CALCULATE(MIN('Table (2)'[Date]),ALLEXCEPT('Table (2)','Table (2)'[ID]))
Return
IF(a=MAX('Table (2)'[Date]),CALCULATE(MAX('Table (2)'[Fail]),FILTER('Table (2)',[Date]=a)),BLANK())
Hi @amateu
I don't quite understand your logic about the filter. it's based on the most minium date by ID? If yes, you'll need a measure.
If just simply filter B&D , you can sue the filter pane.
I need that the app tell me the first fail, this is an example but in reality I will not know what the fail is. How can I do it by the measure you say?
Thanks
Hi @amateu
Please use below measure:
Measure = var a = CALCULATE(MIN('Table (2)'[Date]),ALLEXCEPT('Table (2)','Table (2)'[ID]))
Return
IF(a=MAX('Table (2)'[Date]),CALCULATE(MAX('Table (2)'[Fail]),FILTER('Table (2)',[Date]=a)),BLANK())
| User | Count |
|---|---|
| 60 | |
| 46 | |
| 32 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 82 | |
| 68 | |
| 43 | |
| 26 | |
| 25 |