Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Data is available in Version row wise
we need to take latest version (the latest version in above screenshot is 7) so it need to display 1080 (PROD_QTY) as bellow screenshot .
but i am trying in power bi it was showing the data with sum of 1080+1080 = 2160 as below screenshot.
Requirement is need to get the latest version data according to Row_insert_TSTMP , MTOC , Plan_Period_day columns .
Solved! Go to Solution.
Hi @Tharun
You can get only the last version in a few ways.
1. You can load to the model only the last version with these few steps in the power query.
Let's imagine we have a simple table with 2 columns:
In the first step we can find the max value of the version :
Note that the previous step should be a part of the formula (Changed type)
=List.Max(#"Changed Type"[#"Version "])
As we have this formula we can compare it to the version with the conditional column :
In the next step just filter the table by this comparing column
And delete unnecessary columns
(these steps will be repeated every report refresh )
So you will load only last version rows.
Second option
If the goal is to create a filter for the visual only, you can create a measure with a similar logic :
And filtered measure for the matrix :
Result:
The pbix with both versions of the solution is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @Tharun
You can get only the last version in a few ways.
1. You can load to the model only the last version with these few steps in the power query.
Let's imagine we have a simple table with 2 columns:
In the first step we can find the max value of the version :
Note that the previous step should be a part of the formula (Changed type)
=List.Max(#"Changed Type"[#"Version "])
As we have this formula we can compare it to the version with the conditional column :
In the next step just filter the table by this comparing column
And delete unnecessary columns
(these steps will be repeated every report refresh )
So you will load only last version rows.
Second option
If the goal is to create a filter for the visual only, you can create a measure with a similar logic :
And filtered measure for the matrix :
Result:
The pbix with both versions of the solution is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Thank you so much 😊
Happy to help 🙂
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 38 | |
| 29 | |
| 27 |