Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
Hi,
Issue with a matrix visual.
Business requirement :
Show budget per region, but total needs to include an adjustment.
I do not want to show the adjustement as a line (because no other data is attached) but just in the total.
ex
Region | Q1 | Q2 |
A | 50 | 50 |
B | 50 | 50 |
Total (A + B + (non region adjustement)) | 125 | 130 |
Thank you !
I can't figure it out
Solved! Go to Solution.
Can you add your corrected measure to the table as a new Value and check that the result is correct?
Just to illustrate how ISINSCOPE works, see this:
Proud to be a Super User!
Paul on Linkedin.
Hi @qmartiny ,
You could use ISINSCOPE() to custom your total row.
IF(ISINSCOPE('Table'[Region]),normal data,total data)
Hello,
Doing exactly that it seems
Global comped refers to a different table than the Budget one but I tried with the key from the budget table as well with no luck.
IF(ISINSCOPE(Global_comped[Global_comped]),SUM(V1Budget[FY20]),(SUM(V1Budget[FY20])+61))
Thank you for your help !!
Is this field "Global_comped[Global_comped]" the field you are using in your visual? (the field in your visual needs to be the same as the one in the ISINSCOPE function)
Proud to be a Super User!
Paul on Linkedin.
Hi Paul,
yes that's correct.
And theres a 1-1 relationship between my 'global comped' table (condensed region names) and the region names in the budget table
Can you add your corrected measure to the table as a new Value and check that the result is correct?
Just to illustrate how ISINSCOPE works, see this:
Proud to be a Super User!
Paul on Linkedin.
Hi,
Seems to work if I put a hard value instead of (sum+x) in the second part of the formula.
That will do for now
Thank you!
You probably need to create a measure and then use the technique here:
Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
You have to try like
measure =if(ISFILTERED('Table'[Region]) ,sum(Table[Value]),sum(Table[Value])+25)
OR
measure =if(ISFILTERED('Table'[Region]) ,sum(Table[Value]),sum(Table[unadjusted Value]))
Also refer :https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Proud to be a Datanaut Connect on Linkedin
Hi Amit,
I tried as outlined with a test value but it seems like the total did not change.
Any idea why ?
User | Count |
---|---|
89 | |
88 | |
85 | |
80 | |
49 |
User | Count |
---|---|
151 | |
143 | |
111 | |
74 | |
55 |