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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
tmhalila
Resolver II
Resolver II

Count Submitted Report - DAX Code

Hello team,

Please assist in resolving this matter, I have three tables

  • dimCalendar 
  • dimHotel (Hotel Name, Hotel ID, Hotel Manager)
  • FactTable

I need to know how many hotels submitted their report from the Date Received Column of the Fact Table during the past 5 days of the reporting period (the reporting period is Monthly). Later I will need to visualize by Comparing those submitted in the previous week vs this week

Fact Table

tmhalila_0-1649344784042.png

 

 

 

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @tmhalila ,

 

According to the data you provided, I'm so confused about this 

during the past 5 days of the reporting period (the reporting period is Monthly)

Can you provide some expected results based on the data you provide?


Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello V,

As you asked for clarifications kindly use the link below will direct you to the ongoing conversions of the same with the attached file and more information. 

 

However, the clarity is ..... my client need to capture reports received within 5 days of This week against the same for the previous week. It is like this week vs the previous week but the only difference is it should capture only reports submitted within 5 days and it should be filtered by Reporting period. Example: Within this reporting Month (March) This week 50 reports were received vs 40 received last week

 

https://community.powerbi.com/t5/Desktop/Count-of-Report-By-Received-Date/m-p/2447507#M874481 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.