dax count
2 TopicsCount of Workable Inventory
Hi All, I need to count unbilled workable Ticket no. on the 1st of every month. Below is the data where we have received the date, expiration date, and billed date. A ticket number is workable in a month if it has expired and was received before the 1st day of the month and has not been billed as of the 1st of that month. So in the below case, all yellow colors will be workable in Jan. I believe I need to create a sepa Ticket no. Received Date Expiredate Billed Date Should be counted as workable on day 1 of all the following months 431460 05 February 2022 03 February 2022 05 May 2023 Mar, Apr and May 953852 01 January 2022 23 January 2022 05 February 2023 Feb 857550 08 February 2022 26 February 2022 28 February 2022 Not workable in any of the months 580747 04 April 2022 04 April 2022 24 April 2022 Not workable in any of the months 453601 08 September 2022 09 May 2022 24 December 2022 Oct, Nov, Dec 791246 09 March 2022 06 July 2022 All months effective Aug 324288 10 May 2022 07 September 2022 All months effective Oct 530181 05 August 2022 04 May 2022 24 November 2022 Sep, Oct, Nov 264721 03 September 2022 02 October 2022 Nov, Dec Thanks and Regards, SandeepSolved1.9KViews0likes8CommentsCount number of events when using three different related tables
I have 3 tables related to each other, the first is Total_Pol (here there is monthly frequency data identified as a subgrupo), in the second Category_Total table (there are geological details of subgrupo and other sub-categories) and the third table Master_Total (there is the detail to which grupo each subgrupo belongs to, coordinates, etc). I joined the tables as follows because they have a lot of data between them. Although the values come in subgrupo, it is only valid to know the total per month at the grupo level. I am trying to obtain the number of active groups per month, for which it is considered that if at least one subgroup of each group is greater than 0, the group is considered active. I used teh current formula: Count_Group = if(sumx(total_pol, Total_Pol[VALUE_FIX])>0,CALCULATE(DISTINCTCOUNT(Total_Pol[VALUE_FIX]),GROUPBY(Master_Total,Master_Total[GRUPO])),0) And get the following Table: When i removed the SUBGRUPO FIELD from the table i get this: And when i removed the GRUPO FIELD i get this: I would like to have this at the end: Hope that makes sense! I'd be grateful for any help. Best Regards,Solved819Views0likes2Comments