Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I have a load of requirements that are prioritised by a number of people. I would like to know how many of the requirements are rated consistently, and how many are rated inconsistently.
For example, for the below table, this would be:
Rated consistently = 2
Rated inconsistently = 1
| Rater | Requirement | Rating |
| Luke | 1. I need Power BI to be awesome | High |
| Tim | 1. I need Power BI to be awesome | Medium |
| Paul | 1. I need Power BI to be awesome | High |
| Luke | 2. I need a mouse | Low |
| Tim | 2. I need a mouse | Low |
| Paul | 2. I need a mouse | Low |
| Luke | 3. I need skills | Medium |
| Tim | 3. I need skills | Medium |
| Paul | 3. I need skills | Medium |
Hi @freemainia ,
Create a calculated colum to pikcup any of the rating per requirement and then compare it against the rating in a row. If the rating vs the random rating is the same, return 1 else 0.
Rating Check =
VAR rating =
CALCULATE (
MAX ( 'Table'[Rating] ),
FILTER ( 'Table', 'Table'[Requirement] = EARLIER ( 'Table'[Requirement] ) )
)
RETURN
IF ( 'Table'[Rating] = rating, 0, 1 )
Create another calculated column to get the sum of Rating Check (calculcated column previous created) per requirement. If the sum if zero then constentent = yes else no
Consistent? =
IF (
CALCULATE (
SUM ( 'Table'[Rating Check] ),
ALLEXCEPT ( 'Table', 'Table'[Requirement] )
) > 0,
"No",
"Yes"
)
Then in a visual, get the distinct count of requirement split between whether it is consistent or not.
Please see attached pbix for details
Thanks @danextian for your quick response.
A few complicating things:
- My Rating column doesn't actually have numbers in it (just the "I need X...")
- Is it possible for the solution to created through measures? As, the count of consistent and inconsistent would ideally need to change based off the number of Raters selected.
Hello,
Can you please post a sample data that actually represents your current use case? Sometimes an overly simplied sample data results to an overly simplified solution 😊
Hi @danextian . Thanks again.
How do I share the PBIX? Like below? SOrry
https://drive.google.com/file/d/1gP5jRQYJrZMNDAkuT0-ZDI4EyFYG2afi/view?usp=share_link
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 32 | |
| 31 | |
| 27 |