The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi,
Please suggest how to mitigate error which i'm facing with measure-based field parameter selection
Field Parameter:
Scenario = {
("sum of Budget", NAMEOF('MEASURES_TABLE'[FY Forecast]), 0),
("sum of Forecast", NAMEOF('MEASURES_TABLE'[FY Budget]), 1)
}
Solved! Go to Solution.
Measure Text = //Try this
VAR InitialAmount =
SWITCH (
SELECTEDVALUE('Scenario'[Name]),
"sum of Budget", [FY Budget],
"sum of Forecast", [FY Forecast],
BLANK()
)
RETURN
InitialAmount - SUM('Table'[actual_op])
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
Measure Text = //Try this
VAR InitialAmount =
SWITCH (
SELECTEDVALUE('Scenario'[Name]),
"sum of Budget", [FY Budget],
"sum of Forecast", [FY Forecast],
BLANK()
)
RETURN
InitialAmount - SUM('Table'[actual_op])
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
User | Count |
---|---|
69 | |
65 | |
63 | |
55 | |
28 |
User | Count |
---|---|
112 | |
81 | |
65 | |
48 | |
42 |