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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
tmhalila
Resolver I
Resolver I

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors