The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 ) )
User | Count |
---|---|
11 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
23 | |
14 | |
13 | |
10 | |
8 |