Forum Discussion
How can I compare different versions in PowerBI
- 10 years ago
If two tables in your case, try a measure as below.
KPI = CALCULATE ( COUNTROWS ( 'Your server versions' ), FILTER ( 'Your server versions', CONTAINS ( 'Latest versions', 'Latest versions'[Version], 'Your server versions'[Version] ) ) ) / COUNTROWS ( 'Your server versions' )
One suggestion l have to is to grab the data from this page https://buildnumbers.wordpress.com/sqlserver/. Combine all the data into one table, l would suggest a column with the version number so you filter by version. Then add column to indicate if that version is valid. This table could be maintained in a spreasheet for ease of use. If you update the spreadsheet then all you need to do is update from the data source.
The other data source is the one which lists all the servers and the different versions. Use a caclucated column to do a look up of the version number to the data source created above and return the column which contains the value if the verision number if complaint or not. Or at least thats the approach l would try.
Robert