- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Create a Calculated Column Based on 2 tables
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
Anonymous
| 04-02-2024 06:27 AM | ||
05-04-2023 03:42 AM | |||
06-23-2023 12:30 PM | |||
06-14-2023 07:07 AM | |||
11-21-2023 04:58 AM |
User | Count |
---|---|
141 | |
112 | |
83 | |
63 | |
47 |