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.
Hi everyone,
i have this table:
If i create a cross table i get this:
línea= CALUMN "ALN","ESPUMA","EXTINCION","EXTINTORES"
So what i need to calculate is the max values of each línea by "PROJECT" and the result i want to get is ALN = 50,543, ESPUMA= 58,990, EXTINCION= 49,059, EXTINTORES= 28,456
Thanks.
Solved! Go to Solution.
Hi @JEANCARLOB7
Create measures
Measure 2 =
MAXX (
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[project]
= MAX ( 'Table'[project] )
&& 'Table'[linea]
= MAX ( 'Table'[linea] )
),
[value]
)
Measure = IF(ISINSCOPE('Table'[name]),SUM('Table'[value]),[Measure 2])
Hi @JEANCARLOB7
Create measures
Measure 2 =
MAXX (
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[project]
= MAX ( 'Table'[project] )
&& 'Table'[linea]
= MAX ( 'Table'[linea] )
),
[value]
)
Measure = IF(ISINSCOPE('Table'[name]),SUM('Table'[value]),[Measure 2])
Can you share sample data and sample output. mark me @
So, in general you could use SUMMARIZE or GROUPBY to create a table variable using VAR to emulate your matrix. Then you should be able to use MC Aggregations to get the MAX across your columns. https://community.powerbi.com/t5/Quick-Measures-Gallery/Multi-Column-Aggregations-MC-Aggregations/m-...
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 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |