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
Hi everybody,
Pretty much often I need to calculate a measure presented below:
Drillthrough filters:
'Attribute 2' is "Xxxxx"
| Attribute 1 | Attribute 2 | Value | Measure |
| Aaa | Z | 100 | 100 |
| Aaa | Xxxxx | 10 | 10 |
| Bbb | Z | 100 | |
| Bbb | Y | 20 | |
| Ccc | Z | 100 | |
| Ccc | Y | 10 | |
| Ddd | Z | 100 | 100 |
| Ddd | Xxxxx | 20 | 20 |
So we need to:
Can someone help with that
Thanks
Solved! Go to Solution.
@till2718281828 wrote:
Hi everybody,
Pretty much often I need to calculate a measure presented below:
Drillthrough filters:
'Attribute 2' is "Xxxxx"
Attribute 1 Attribute 2 Value Measure Aaa Z 100 100 Aaa Xxxxx 10 10 Bbb Z 100 Bbb Y 20 Ccc Z 100 Ccc Y 10 Ddd Z 100 100 Ddd Xxxxx 20 20
So we need to:
- find out the elements of 'Attribute 1' for which 'Attribute 2' is not NULL;
- calculate the measure that sum 'Value' for such elements of 'Attribute 1'.
Can someone help with that
Thanks
As far as I know, the attributes 2 which is not in the drillthrough filter won't present the the drill through page. You can only get a total sum of the attribute 1 instead of individual sums.
Measure =
CALCULATE (
SUM ( yourTable[Value] ),
ALLEXCEPT ( yourTable, yourTable[Attribute 1] )
)
@till2718281828 wrote:
Hi everybody,
Pretty much often I need to calculate a measure presented below:
Drillthrough filters:
'Attribute 2' is "Xxxxx"
Attribute 1 Attribute 2 Value Measure Aaa Z 100 100 Aaa Xxxxx 10 10 Bbb Z 100 Bbb Y 20 Ccc Z 100 Ccc Y 10 Ddd Z 100 100 Ddd Xxxxx 20 20
So we need to:
- find out the elements of 'Attribute 1' for which 'Attribute 2' is not NULL;
- calculate the measure that sum 'Value' for such elements of 'Attribute 1'.
Can someone help with that
Thanks
As far as I know, the attributes 2 which is not in the drillthrough filter won't present the the drill through page. You can only get a total sum of the attribute 1 instead of individual sums.
Measure =
CALCULATE (
SUM ( yourTable[Value] ),
ALLEXCEPT ( yourTable, yourTable[Attribute 1] )
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 59 | |
| 45 | |
| 39 | |
| 39 | |
| 21 |
| User | Count |
|---|---|
| 175 | |
| 138 | |
| 118 | |
| 80 | |
| 54 |