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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
gtamir
Post Patron
Post Patron

Filtering data by days

Hi

 

I have DimDate, FactParkingViolation[DateIssued], and FactParkingViolation[NumberOfViolation].

How can I create a report shoing the number of violations per day of the week?

Couldn't find it by filtering.

Thanks

1 ACCEPTED SOLUTION

Thaks Charlie, I found the problem. The date column was TEXT type by mistake.

 

Giora

View solution in original post

4 REPLIES 4
v-caliao-msft
Microsoft Employee
Microsoft Employee

@gtamir,

 

You could create a date table and then create relationship between your original table and the new created table, then add the day to a slicer. Please refer to the link below to see the details.
https://docs.microsoft.com/en-us/power-bi/power-bi-visualization-slicers
https://www.mssqltips.com/sqlservertip/4857/creating-a-date-dimension-table-in-power-bi/

Regards,

Charlie Liao

Thanks,

 

I have DimDate. Why I can't see 7 rows with the number of violations for each day?

@gtamir,

 

Could you please share us some screenshots about your report, it hard to understand your issue based on your decription. You can upload a pbix file to Onedrive or any web storage and share the link. Do mask sensitive data before uploading.

 

Regards,
Charlie Liao

Thaks Charlie, I found the problem. The date column was TEXT type by mistake.

 

Giora

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.