The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
I have a table that has 85 date columns and many rows. What is the most efficient way of getting the minimum date, maximum date, and count of dates that fall between a certain window (3 months from a set date and 6 months from the set date)? I was thinking to make a loop through the table and setting min_date, max_date, and counts as loop variables. Is there a more efficient way in terms of memory and time complexity?
Thanks!
Hi, @Anonymous ;
I'm a little confused about your question, can you share a simple case and the results you hope to output to show?
please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
82 | |
81 | |
37 | |
34 | |
31 |
User | Count |
---|---|
94 | |
80 | |
60 | |
50 | |
49 |