The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi together,
I am very new and unexperienced to Power BI and need some support how to handle a table with incremental updates.
Challenge:
Problem:
Example:
Asset ID | Content.version | Product Name | Reg. Date | Product Number | Serial no. |
ff906c2e-3986-433e-b3e1-3ae0e4e8bd00 | 1 | Car | |||
ff906c2e-3986-433e-b3e1-3ae0e4e8bd00 | 2 | Car | 30.06.2020 | ||
ff906c2e-3986-433e-b3e1-3ae0e4e8bd00 | 3 | Car | 30.06.2020 | 554 | 123 |
The example above is counted 3 times in my dashboard.
I would like to consider only the highest version (row 3) of an asset.
Unfortunately I also have assets with versions up to because users change the version no. often.
I have already tried to implement measures but nothing is working.
I need so a kind of a filter which considers the asset id and the version number.
It would be great if you can support me.
Thank you very much for your efforts.
@deumdo , Try a measure like
Measure =
VAR __id = MAX ( 'Table'[Asset ID] )
VAR __date = CALCULATE ( MAX( 'Table'[Content.version] ), ALLSELECTED ( 'Table' ), 'Table'[Asset ID] = __id )
RETURN CALCULATE ( count ( 'Table'[Product Name] ), VALUES ( 'Table'[Category ), 'Table'[Asset ID] = __id, 'Table'[Content.version] = __date )
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
80 | |
66 | |
53 | |
52 |
User | Count |
---|---|
121 | |
117 | |
77 | |
64 | |
63 |