Can you use a Column from an SQL Server Table as a range within a formula?

allenshapiro

New Member
Joined
May 17, 2019
Messages
1
Hi, I am linking power pivot to a table of 220 million rows. I want to find the first time an ID appears in the data set.
In doing so I would like to create a new measure by using the following formula:
=N(countifs(Adrian_data[DeviceID],Adrian_data[DeviceID])=1)). The problem I am having is how do you tell Dax that the Device Id that I want is in the entire column. Essentially I want to use the column as a range.
How do you identify a complete column as a range?
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Watch MrExcel Video

Forum statistics

Threads
1,133,466
Messages
5,658,945
Members
418,477
Latest member
coutinhoicaro

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top