Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello
I'm trying to build a matrix with some information in it. Now I'm stucked in a text filter. I need the matrix to show me differents values depending on the expansion of the first column (Name):
General view:
Name expanded:
So I need the matrix to show me in the general view, the actions commited that have the max percentage in the Total Percentage (in this case is 1/1). The column Actions Commited has string values.
This is the Dax Measure that I'm using right now:
I think that the bold part of the dax measure is wrong. Can you help me to figure this out please?
Solved! Go to Solution.
@Anonymous So maybe this?
Actions Committed MM3TR&R =
IF(
ISINSCOPE('Table1'[Incidents]),
[Actions Committed],
VAR __Table = SUMMARIZE('Table1',[Name],[Incidents],"AC",[Actions Committed],"Per",[Total Percentage])
VAR __Max = MAXX(__Table,[Per])
RETURN
MAXX(FILTER(__Table,[Per] = __Max),[AC])
)
@Greg_Deckler no! the second screenshot is ok. The problem is in the first screenshot with the column "Actions Commited" because it has to show the string "1/1" because is the string that has the maximum percentage of the column "Total Percentage" (you can see this in the second screenshot).
Here you have another example:
General view:
Expanded view:
@Anonymous So maybe this?
Actions Committed MM3TR&R =
IF(
ISINSCOPE('Table1'[Incidents]),
[Actions Committed],
VAR __Table = SUMMARIZE('Table1',[Name],[Incidents],"AC",[Actions Committed],"Per",[Total Percentage])
VAR __Max = MAXX(__Table,[Per])
RETURN
MAXX(FILTER(__Table,[Per] = __Max),[AC])
)
@Anonymous Woot!
@Greg_Deckler i dont have problems with the position I'm in the matrix. I'm having problems with the value I want to show in the matrix in the general view
@Anonymous So in the second screenshot you only want the Consume alimentos row to show?? If that is the case, you could potentially solve that by doing an SUMMARIZE over ALL where you summarize by your matrix hierarchy elements and include your measure as part of the summarization. Then you would grab the max value from that and compare with your row value and if they are the same, return the % and if not return BLANK. Hard to be super specific without sample data and a clear explanation of what you are trying to achieve.
@Anonymous Use ISINSCOPE to determine where you are in the matrix and return values accordingly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
78 | |
78 | |
58 | |
35 | |
32 |
User | Count |
---|---|
99 | |
59 | |
56 | |
46 | |
40 |