Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I have a chart which currently displays all the values from an Azure SQL server database which is connected to Power BI report with Direct Query. The data are refreshed in a specific interval. Apparently this database is populated with almost 300 values every day.
I could manage to retrieve only the latest 500 rows from the generated table through this advice.
The ideal scenario (and the demands of the client) is that through a input field (a slicer possibly?) the user of the report could retrieve a particular number of rows from the table that form the chart.
Is this possible?
Thanks in advance
Hi @Anonymous ,
Theoretically, there is no way to enter fields in powerbi to get results. But it is possible to count the number of rows of a table composed based on filter conditions by creating a measure formula. Azure SQL Database with DirectQuery
Can you further describe your requirements or provide relevant test data and screenshots of the desired results so that I can answer you as soon as possible?
Looking forward to your reply.
Best Regards,
Henry
Hi @v-henryk-mstf and thank you for your answer,
Could you guide me through the process of creating a measure formula. My scenario include a slicer with checkboxes and the label "Choose latest number of values to generate graph". The checkboxes will be:
500
1000
1500
2000
where the numbers represent the latest values retrieved from the database.
Thanks again.
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 |
|---|---|
| 56 | |
| 40 | |
| 36 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 74 | |
| 72 | |
| 38 | |
| 35 | |
| 26 |