Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Jacks060650
Frequent Visitor

Helping counting entries

Hello, 

 

I currently have a table with dates ( please see attached), I would like to count how many entries per date to put it onto a card visual so I can see how many lates for example we had on one day. 

 

For example 

01/01/2023- 35 entries made

 

02/05/2023 - 4 Entries made.

 

If you look at the Calendar 28th March is on there mutiple times I would like the table to count how many times it is on there so I can then use it on a card to say how many on the 28th were created.Calendar.JPG

I can then filter this down on PowerBI using the card visual and select the date to see how many entries are made. 

 

 

 

 

3 REPLIES 3
Jihwan_Kim
Super User
Super User

Hi, I am not sure if I understood your question correctly, but I tried to create a sample pbix file like below.

Please check the below pictures and the attached pbix file.

 

Jihwan_Kim_0-1697380096222.pngJihwan_Kim_1-1697380108740.png

 

Expected result measure: = 
VAR _t =
    ADDCOLUMNS (
        Data,
        "@countrows", COUNTROWS ( FILTER ( Data, Data[Created] = EARLIER ( Data[Created] ) ) )
    )
RETURN
    CONCATENATEX (
        SUMMARIZE ( _t, Data[Created], [@countrows] ),
        Data[Created] & "  - " & [@countrows] & " entry(entries) made",
        UNICHAR ( 10 )
    )

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

It looks a good way however the card I would like it just showing the number for the day.  (Please ifnd attached image)

 

For example I have taken 23 sick calls today and if i filter it by date on the image it will let me see that 23 people called in sick, if that makes sence? TOTAL FOR DAY.JPG

 

 

 

Hi, Thank you for your message.
I think the solution is related how you model your data, because I think, it shows count of rows in the fact table.
Please share your sample pbix file's link here, and then I can try to look into it to come up with a solution.

Thanks.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.