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.
I have this created this table which is a Union of several other tables.
I want to add a Cost per INQ (top row example for Blackhat = $112,139 / 444 INQs = $252.56 = Cost/Inq) as a column on the end of this table. What is the best way to do this?
Solved! Go to Solution.
is both Cost and INQ columns are in the same source table ?
Option 1: you can create a Column in Power Query Editor
Option 2: create a measure as follows:
Cost Per INQ = Cost - INQ
and drag it to this table Visual.
am not sure if am missing something but looks simple to me based on what you have provided below.
Thanks!
is both Cost and INQ columns are in the same source table ?
Option 1: you can create a Column in Power Query Editor
Option 2: create a measure as follows:
Cost Per INQ = Cost - INQ
and drag it to this table Visual.
am not sure if am missing something but looks simple to me based on what you have provided below.
Thanks!
Without knowing how the data is set up, I'm not sure if this will solve your problem, but a measure built something like this should get the desired result:
Measure =
DIVIDE (
SUMX( table, table[cost]), SUMX( table2, table2[INQ]), 0)
User | Count |
---|---|
65 | |
61 | |
60 | |
53 | |
27 |
User | Count |
---|---|
181 | |
83 | |
68 | |
49 | |
46 |