Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have the following dataset in power BI:
| ID | Name | Type | Channel | Frequency | Open | ||||
| 1 | Message 1 | A | B | C | 10 | ||||
| 2 | Message 2 | A | B | C | 20 | ||||
| 3 | Message 3 | B | A | C | 40 |
I am trying to get the following table in Power BI as a result:
| ID | Name | Fixed Open | |
| 1 | Message 1 | 30 | |
| 2 | Message 2 | 30 | |
| 3 | Message 3 | 40 |
Fixed Open is calculated as the group of Type, Channel and Frequency so it will be like below:
| Type | Channel | Frequency | Open (SUM) | |||
| A | B | C | 30 | |||
| B | A | C | 40 |
How can I achieve this in Power BI?
Solved! Go to Solution.
@Dhruv100322
Please refer to attached sample file with the solution
Fixed Open =
CALCULATE (
SUM ( 'Table'[Open] ),
ALL ( 'Table' ),
'Table'[Type] = MAX ( 'Table'[Type] )
)
try to create a table with this:
Hi @Dhruv100322
Please try
Fixed Open =
CALCULATE ( SUM ( 'Table'[Open] ), ALLEXCEPT ( 'Table', 'Table'[Type] ) )
it doesnt work. it gives as below
@Dhruv100322
Please refer to attached sample file with the solution
Fixed Open =
CALCULATE (
SUM ( 'Table'[Open] ),
ALL ( 'Table' ),
'Table'[Type] = MAX ( 'Table'[Type] )
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 13 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 25 | |
| 10 | |
| 10 | |
| 6 | |
| 6 |