Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Could you help me to show 1 result in visual CARD:
All I want to see is the latest period from the filters FK-DB and TEXT1 (For example: from the table below I would like to see 6.)
Table
| FK_DB | Description | Period | Date |
| OH | Text 1 | 4 | 30-04-2020 |
| OH | Text 1 | 6 | 30-06-2020 |
| OH | Text 2 | 4 | 24-04-2020 |
| OH | Text 2 | 7 | 30-06-2020 |
Solved! Go to Solution.
Hi @Sparkeltje ,
If you have more values for the columns FK-DB and Description, you may need to use a filter in this measure, like:
CALCULATE(MAX(TABLE[PERIOD]), FILTER(ALL(TABLE), TABLES[FK-DB] = "OH" && Description = "Text 1"))
@Sparkeltje , Try like
lastnonblankvalue(Table[Date],max(Table([Period])))
refer
https://www.linkedin.com/pulse/five-recent-power-bi-functions-you-should-use-more-often-amit-chandak
Hi @Sparkeltje ,
If you have more values for the columns FK-DB and Description, you may need to use a filter in this measure, like:
CALCULATE(MAX(TABLE[PERIOD]), FILTER(ALL(TABLE), TABLES[FK-DB] = "OH" && Description = "Text 1"))
Measure =
CALCULATE ( MAX ( Spark[Period] ), ALLSELECTED ( Spark ) )
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 21 | |
| 12 | |
| 9 | |
| 5 | |
| 5 |