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 August 31st. Request your voucher.
Case:
I have three different income values (webshop, store and store house) in a dynamic filter.
When webshop is selected I have to calculated the turnover minus the cost of adwords. In the other cases the adwords cost do not have to be subtracted.
Can someone help me out with this?
Solved! Go to Solution.
Hi @Anonymous
Try this MEASURE
Measure = IF ( SELECTEDVALUE ( TableName[IncomeType] ) = "webshop", SUM ( TableName[Turnover] ) - SUM ( TableName[cost of adwords] ), SUM ( TableName[Turnover] ) )
Hi @Anonymous
Try this MEASURE
Measure = IF ( SELECTEDVALUE ( TableName[IncomeType] ) = "webshop", SUM ( TableName[Turnover] ) - SUM ( TableName[cost of adwords] ), SUM ( TableName[Turnover] ) )
Thanks a lot!
User | Count |
---|---|
77 | |
75 | |
36 | |
31 | |
28 |
User | Count |
---|---|
95 | |
81 | |
55 | |
48 | |
48 |