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 am working on one peculiar request,
We are using parameter in the table and we need totals in the rows and average in the totals.
Table is this format:
| A | MVA | uk | 1000 |
| B | DVP | us | 2000 |
| A | MVA | us | 3000 |
| C | MVN | uk | 1000 |
| A | MVP | uk | 1000 |
Parameter are : We have a slicer on the page
☑️Partnername
⏹partnerTYPE
☑️partnercountry
The formula should consider all three columns[Partnername partnerTYPE partnercountry ]
I need result like this:
| A | uk | 2000 |
| B | us | 2000 |
| A | us | 3000 |
| C | uk | 1000 |
| Total | 2000 |
Tried this formula:
if(
Hasonevalue(parntername),
sum (salary),
average(salary))
But it's not working
Solved! Go to Solution.
Try using ISINSCOPE like:
Measure ISINSCOPE =
IF(
ISINSCOPE(TableName[Partnername]),
SUM(TableName[Salary]),
AVERAGE(TableName[Salary])
)
Proud to be a Super User!
Try using ISINSCOPE like:
Measure ISINSCOPE =
IF(
ISINSCOPE(TableName[Partnername]),
SUM(TableName[Salary]),
AVERAGE(TableName[Salary])
)
Proud to be a Super User!
I am stuck and unable to find how to make “VAR SUMMERISE” to work, this variable should summerize the selected columns only. I am using this to find the denominator.
It works fine when all three columns are selected, but I need to summerize based on the selected column
Uniques =
var sumfc= sum (salary),
VAR SUMMERISE = SUMMARIZE(Partnername,Partnercountry, partnerTYPE, “Average”,sumfc)
return
IF(
OR(ISINSCOPE( 'Partnername),OR(ISINSCOPE( 'Partnercountry),ISINSCOPE(partnerTYPE))),
sum (salary),
DIVIDE(sumfc,COUNTROWS(SUMMERISE )))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |