March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi!
So basically i need to create a measure that is grouped and does not get affected a row filter.
Lets say i have a table:
Player | Average Moves Per Day | Team |
Ted | 7 | Red |
Bill | 2 | Blue |
Mark | 23 | Green |
Luke | 3 | Red |
Average Moves Per Day is a measure counting rows by person by date.
I need to create a similar measure for Team that shows the average moves per day for the whole team and is not filtered down by Player see below, the output should look like:
Player | Average Moves Per Day | Team | Avg Moves By Team Per Day |
Ted | 7 | Red | 5 |
Bill | 2 | Blue | 2 |
Mark | 23 | Green | 23 |
Luke | 3 | Red | 5 |
I want to see the Average Moves By Team in each row for someone on that team. Since the Red team has 10 total moves divided by two people in the team, each row with a "Red" team member should have the value 5 for the measure etc.
Unfortunately this does not work as when i need to filter by Team, it then shows all Players and not only the players related to the Team filtered.
It will only include the players on the same team as the player in your current context.
in your measure use REMOVEFILTERS(<player>)
This did not work, it just gives an un-rounded version of the average moves column.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
Player | Moves | Team | Date |
Tim | Left | Red | 1/1/2001 |
Tim | Right | Red | 1/1/2001 |
Tim | Left | Red | 1/1/2001 |
Tim | Down | Red | 1/1/2001 |
Mark | Up | Blue | 1/1/2001 |
Mark | Right | Blue | 1/1/2001 |
Mark | Up | Blue | 1/1/2001 |
Mark | Up | Blue | 1/1/2001 |
Joe | Left | Blue | 1/1/2001 |
Joe | Left | Blue | 1/1/2001 |
Joe | Right | Blue | 1/1/2001 |
Joe | Right | Blue | 1/1/2001 |
Joe | Right | Blue | 1/1/2001 |
Joe | Right | Blue | 1/1/2001 |
Bob | Down | Red | 1/1/2001 |
Bob | Up | Red | 1/1/2001 |
Bob | Up | Red | 1/1/2001 |
Bob | Right | Red | 1/1/2001 |
The "Avg Moves Per Day" column comes from a measure:
Player | Avg Moves/Day | Team | Avg Team Moves/Day |
Tim | 4 | Red | 4 |
Mark | 4 | Blue | 5 |
Joe | 6 | Blue | 5 |
Bob | 4 | Red | 4 |
Your sample data only includes a single day,
I am having issues making this work because "Moves" is a measure and it won't allow me to pull it into SUMMARIZECOLUMNS. That measure already gets the average moves per day as a whole, i do not need to filter by individual date
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
25 | |
16 | |
15 | |
7 | |
7 |
User | Count |
---|---|
37 | |
31 | |
16 | |
16 | |
12 |