cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Yau0101
Frequent Visitor

Count the no if ID

Dear All,

 

How can I count the no of ID in the ID column as shown in the picture below? The total no of ID should be 48. Basically the id is the quotation id, i want to know the number of quotes issued in month of september.  Please advise. thanks

 

Yau0101_0-1634266763498.png

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Yau0101 ,  a Measure

 

Calculate(count(Table[ID]), Filter(Table, eomonth(Table[created_date],0) = eomonth(today(),-1) )) 

 

Or you can use time intelligence with date table

last MTD Sales = CALCULATE(count(Table[ID]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))
last month Sales = CALCULATE(count(Table[ID]),previousmonth('Date'[Date]))

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Yau0101 ,  a Measure

 

Calculate(count(Table[ID]), Filter(Table, eomonth(Table[created_date],0) = eomonth(today(),-1) )) 

 

Or you can use time intelligence with date table

last MTD Sales = CALCULATE(count(Table[ID]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))
last month Sales = CALCULATE(count(Table[ID]),previousmonth('Date'[Date]))

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors