Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi community,
I've got a question regarding a % multiplier that I'm trying to create in Power BI:
I have a matrix table of values here which I multiply via my %slicer. This part works fine across all categories, however I want to be able to add multiplier to the right category, based on a second slicer.
The codes that I'm using are as follows:
Any help would be much appreciated!
Solved! Go to Solution.
Hi Daxer,
Thanks again for your help. I was able to solve my issue in the following manner:
First if all, I created the following measure to filter out the specific categories I want:
// I assume that [soll inventory/ar/ap] must be
// summable across all the flows. If not, then
// some logic must be implemented to return
// values at the right level of granularity.
// T is the table where you store flows. I understand
// as well that 'Detailed Flow' is disconnected
// from the model.
[soll inventory/ar/ap] =
var __multiplier = coalesce([test multiplier], 0)
var __flowsToModify = VALUES( 'Detailed Flow'[Flow] )
var __result =
SUMX(
VALUES( T[Flow] ),
var __shouldModifyCurrentFlow =
T[Flow] in __flowsToModify
var __effectiveMultiplier =
__shouldModifyCurrentFlow * __multiplier
var __invIncVat = [inventory/ar/ap incl.VAT]
return
(1 + __effectiveMultiplier ) * __invIncVat
)
return
__result
Hi Daxer,
First of all thanks for your help, I tried to implement your logic but I ran into the following conversion error:
Since the CONTAINSROWS function wasn't used I started to debug. I noticed that the __flowsToMatch variable returned an error for me when I selected multiple values:
This is unfortunate as I'm looking specifically for that multiple selection but even when I select a single value, I still get the original conversion error. I've been able to isolate it to the var __result but that's a far as I've come.
Hi Daxer,
Thanks again for your help. I was able to solve my issue in the following manner:
First if all, I created the following measure to filter out the specific categories I want:
@Anonymous , try like Assumed the other slicer -'Table'[Detailed Flow]
Soll Inventory/AR/AP = if(max('Table'[Detailed Flow]) =SELECTEDVALUE('Table'[Detailed Flow]) , [Inventory/AR/AP incl. VAT]+([Inventory/AR/AP incl. VAT]*[Test multiplier]) , [Inventory/AR/AP incl. VAT])
Soll Inventory/AR/AP = if(isfiltered('Table'[Detailed Flow]) && max('Table'[Detailed Flow]) =SELECTEDVALUE('Table'[Detailed Flow]) , [Inventory/AR/AP incl. VAT]+([Inventory/AR/AP incl. VAT]*[Test multiplier]) , [Inventory/AR/AP incl. VAT])
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |