Countifs / Match Query in Power BI

gmazza76

Well-known Member
Joined
Mar 19, 2011
Messages
769
Office Version
  1. 365
Platform
  1. Windows
Good morning all,

I am used to using countifs in Excel, but I am hoping to do this formula basis in Power Pivot as I am expecting to add data to my main source file on a weekly basis.

So with being a beginner in Power BI I am hoping you can point me in the right direction with the following.
I have my information as set out as per below with other columns etc.. that are not relevant (currently).

In essence I want to be able to see if an account number (Column A) appears again within a number of days to give an outcome of "Same Day", "8 Day" or "31 Day" Repeats.
I have done this before in formula form, but I have been asked to confirm the outcome only if the Department (Column C) is the same

I have mocked up what I would expect to show as the repeat in column D, but cannot think of a way of doing this currently.

1583233512591.png


thanks in advance

Gavin
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,223,803
Messages
6,174,687
Members
452,577
Latest member
Filipzgela

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
Back
Top