Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
What should I be looking for?
MH7 is a measure that counts the last 7 days, it should be counting 7, but its just showing 4.
MH7 =
CALCULATE(
DISTINCTCOUNT('Utility Allowance Tracker - HDR'[Created]),
FILTER('Utility Allowance Tracker - HDR',
'Utility Allowance Tracker - HDR'[Created] >= TODAY()-7),
'Utility Allowance Tracker - HDR'[Client Name] = "Mercy Housing")
Solved! Go to Solution.
Hi @New_Folder , if possible, share a sample data without sensible content in order to give us an way to replicate your issue.
In time, maybe you should check
If this response was helpful in any way, I’d gladly accept a kudo.
Please mark it as the correct solution. It helps other community members find their way faster.
Connect with me on LinkedIn
Hi @New_Folder ,
Thank you for reaching out to the Microsoft Community Forum.
You want number of requests, but you are counting distinct Created timestamps/dates. If multiple requests were created on the same day, they collapse into one count.
Please try below measures.
1. If you want requests in last 7 days, try below measure.
MH7 =
CALCULATE(
COUNTROWS('Utility Allowance Tracker - HDR'),
'Utility Allowance Tracker - HDR'[Created] >= TODAY() - 7,
'Utility Allowance Tracker - HDR'[Client Name] = "Mercy Housing"
)
2. If you want a rolling 7-day window including time, try below measure.
MH7 =
CALCULATE(
COUNTROWS('Utility Allowance Tracker - HDR'),
'Utility Allowance Tracker - HDR'[Created] >= NOW() - 7,
'Utility Allowance Tracker - HDR'[Client Name] = "Mercy Housing"
)
I hope this information helps. Please do let us know if you have any further queries.
Regards,
Dinesh
Hi @New_Folder ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. And, if you have any further query do let us know.
Regards,
Dinesh
Hi @New_Folder ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. And, if you have any further query do let us know.
Regards,
Dinesh
maybe you can create a new measure
measure=sumx(values(Site Name), MH7)
if this does not work, pls provide some sample data and expected output
Proud to be a Super User!
Hi @New_Folder , if possible, share a sample data without sensible content in order to give us an way to replicate your issue.
In time, maybe you should check
If this response was helpful in any way, I’d gladly accept a kudo.
Please mark it as the correct solution. It helps other community members find their way faster.
Connect with me on LinkedIn
When using DISTINCTCOUNT, it literally counts the "distinct" values from the column you're counting, and not the "total" number of values in the column. Try using COUNT() instead of DISTINCTCOUNT() instead.
Also, if possible can you share a subset of data from the 'Utility Allowance Tracker - HDR'[Created] column to assist in answering your question?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 44 | |
| 43 | |
| 38 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 67 | |
| 63 | |
| 30 | |
| 30 | |
| 23 |