Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a single device name with multiple patches
Device_Name | ArticleID | Status | Baseline Status Verbose |
NTFKEDVC123 | 18765832 | Installed | 1 of 3 Installed 2 of 3 required |
NTFKEDVC123 | 15268762 | Required | 1 of 3 Installed 2 of 3 required |
NTFKEDVC123 | 8675309 | Required | 1 of 3 Installed 2 of 3 required |
Due to the need for drill down functions, I need to create Baseline status verbose in PowerBI. Can someone give me guides on how to do this?
Solved! Go to Solution.
So, like this?
Baseline Status Verbose =
VAR __Total = COUNTROWS(FILTER(ALL('Table'),[Device_Name]=EARLIER([Device_Name])))
VAR __Installed = COUNTROWS(FILTER(ALL('Table'),[Device_Name]=EARLIER([Device_Name]) && [Status]="Installed"))
VAR __Required = COUNTROWS(FILTER(ALL('Table'),[Device_Name]=EARLIER([Device_Name]) && [Status]="Required"))
RETURN
__Installed & " of " & __Total & " Installed " & __Required & " of " & __Total & " required"
PBIX attached.
So, like this?
Baseline Status Verbose =
VAR __Total = COUNTROWS(FILTER(ALL('Table'),[Device_Name]=EARLIER([Device_Name])))
VAR __Installed = COUNTROWS(FILTER(ALL('Table'),[Device_Name]=EARLIER([Device_Name]) && [Status]="Installed"))
VAR __Required = COUNTROWS(FILTER(ALL('Table'),[Device_Name]=EARLIER([Device_Name]) && [Status]="Required"))
RETURN
__Installed & " of " & __Total & " Installed " & __Required & " of " & __Total & " required"
PBIX attached.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
81 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |