Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Lancelot
Frequent Visitor

Applying an adjustment to a value of a matrix table dynamically

Hi All

 

I have a requirement to apply a manual adjustment to a value on a matrix table dynamically.

 

I have used a what-if parameter to caprute the value. I also have a sclicer that allows to select which row to apply the adjustment to.

 

However, after doing all this, the adjusted values is applied across the entire matrix table. i am not sure what I am doing wrong. Please see below:

 

Steps:

1. Select the record to apply an adjustment to

2.  Select the amount to adjust it by

3. If you look at the adjusted Value card, that is the correct value

4. However, on the matrix table, all records have been adjusted by 1mill when only data should have been adjusted

 

Lancelot_0-1678357673304.png

Lancelot_1-1678357816090.png

 

1 REPLY 1
Lancelot
Frequent Visitor

New Total Amount =
var _standardCat = SELECTEDVALUE('Trial Balance'[StandardCat])
var _analysisCat2 = SELECTEDVALUE('Trial Balance'[AnalysisCat2])
RETURN
var _results = IF(_analysisCat2 <> BLANK() && _standardCat <> BLANK(),
CALCULATE(-1 * SUM('Trial Balance'[Value]) + 'Manual Adjustment'[Manual Adjustment Value],
FILTER('Trial Balance','Trial Balance'[AnalysisCat2] = _analysisCat2),
FILTER('Trial Balance','Trial Balance'[StandardCat] = _standardCat)),
SUM('Trial Balance'[Value]))

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.