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.
I have a ‘Project’ dimension and it has a discount value (in percentage). My problem is I cannot use a column from a Dimension directly in a measure…
I have to do Discount x Revenue. (Usually my dimension columns have only text values, but in this case its numeric).
Is it ok to do:
Measure1: = AVERAGE(Project[Discount])
Measure 2:= Measure1*Revenue
Or how do you achieve this? (My revenue is in my FactRevenue).
Solved! Go to Solution.
You could do something like
Rev with discount = SUMX( FactRevenue, FactRevenue[Revenue] * RELATED(Project[Discount]) )
You could do something like
Rev with discount = SUMX( FactRevenue, FactRevenue[Revenue] * RELATED(Project[Discount]) )
User | Count |
---|---|
11 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
23 | |
14 | |
14 | |
9 | |
7 |