Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
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
Hello,
How can i count data that was dated yesterday and store the counted data to a table for visualization? Thanks
Solved! Go to Solution.
Hi @Anonymous ,
If I am taking your question correctly then you could use below code:-
Measure =
CALCULATE (
COUNT ( table[column_to_count] ),
FILTER ( table, table[date_to_consider] <= TODAY () - 1 )
)
BR,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
@Anonymous Is possible for you to explain it with some sample data in text format with expected output?
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @Anonymous ,
If I am taking your question correctly then you could use below code:-
Measure =
CALCULATE (
COUNT ( table[column_to_count] ),
FILTER ( table, table[date_to_consider] <= TODAY () - 1 )
)
BR,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Thanks again @Samarth_18 but the thing is im calculating for new volume.
Example. In PH date is May 24 and the vendor's new volume date is May 23. So i need to filter all received date dated May 23 for todays new volume. Is it possible? Thanks!
@Anonymous Is possible for you to explain it with some sample data in text format with expected output?
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @Samarth_18 Actually the solution you provides work! Lol, im filtering the wrong date. What a life saver! Thanks a alot!!
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 |
|---|---|
| 53 | |
| 45 | |
| 44 | |
| 20 | |
| 19 |
| User | Count |
|---|---|
| 73 | |
| 71 | |
| 34 | |
| 33 | |
| 31 |