This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
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())
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 21 | |
| 20 | |
| 20 |