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
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.
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.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 39 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 32 | |
| 27 | |
| 25 |