Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I'm providing the sample data not the real ones due to privacy issue.
I have a Power automate visual. When I click on it , It should read data from table visual in Power BI and consolidate the date ranges for each class and send an email.
I tried grouping by the class and extract min date and max date from the dataset but I'm getting output same as input. Can anyone please help me in providing the steps in power automate flow to get the desired result.
Thank you
Input:
| DateRange | Category | class | LoadType | Status |
| 03/03/2025 | a | canteen | daily | No data |
| 03/03/2025 | a | student | daily | No data |
| 03/03/2025 | a | teacher | daily | No data |
| 03/03/2025 | a | college | daily | No data |
| 03/03/2025 | a | bus | daily | No data |
| 02/03/2025 | a | canteen | daily | No data |
| 02/03/2025 | a | exam | daily | No data |
| 02/03/2025 | a | teacher | daily | No data |
| 02/03/2025 | a | college | daily | No data |
| 01/03/2025 | a | canteen | daily | No data |
| 01/03/2025 | a | student | daily | No data |
| 01/03/2025 | a | college | daily | No data |
| 28/02/2025 | a | exam | daily | No data |
| 28/02/2025 | a | teacher | daily | No data |
| 28/02/2025 | a | college | daily | No data |
| 28/02/2025 | a | canteen | daily | No data |
| 27/02/2025 | a | canteen | daily | No data |
| 27/02/2025 | a | exam | daily | No data |
| 27/02/2025 | a | student | daily | No data |
| 27/02/2025 | a | teacher | daily | No data |
| 27/02/2025 | a | college | daily | No data |
Output:
| date | Category | class | LoadRType | Staus |
| 03/03/2025 | a | student | daily | No data |
| 01/03/2025 | a | student | daily | No data |
| 27/02/2025 | a | student | daily | No data |
| 27/02/2025 to 28/02/2025 | a | teacher | daily | No data |
| 02/03/2025 to 03/03/2025 | a | teacher | daily | No data |
| 03/03/2025 | a | bus | daily | No data |
| 27/02/2025 to 03/03/2025 | a | canteen | daily | No data |
| 27/02/2025 to 03/03/2025 | a | college | daily | No data |
| 27/02/2025 to 28/02/2025 | a | exam | daily | No data |
| 02/03/2025 | a | exam | daily | No data |
Hi @zsru1213 ,
Just wanted to check if the solution provided by @lbendlin has met your needs. If yes, Please consider marking it as "Accepted Solution" to assist others with similar queries. If further assistance is needed, please reach out. Since this is related to Power Automate, you might also want to post it in the Microsoft Power Platform Community for a wider audience and expert insights.
Thank you.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!