Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi
My report has SQL detail table with 20 columns, 2 measures (actuals, forecast) for detail Power BI reporting . I have another scenario where to build aggregate custom table which includes only selected columns(5), measures(2) any approach in Power BI we could accomplish without re-writing sql . so i can write few conditional calcuations on aggregate table.
SQL syntax
Select A1, A2, A3, A4, A5, sum(actuals) as Actuals, Sum(forecat) as forecast where A1 = "Y" and A3 ="N" Group by A1, A2, A3, A4, A5.
Thanks
Vs
@refint650 , Group by in power bi, Summarize and Group by in DAX
https://docs.microsoft.com/en-us/power-query/group-by
You have to create measures again
refer for examples
https://amitchandak.medium.com/power-bi-power-query-vs-dax-append-and-summarize-data-233f173d0839
Aplogigze for foget to say it's direct query connection, so do not have option of M query, can i pick select column function to achieve.?
User | Count |
---|---|
79 | |
74 | |
44 | |
32 | |
28 |
User | Count |
---|---|
100 | |
93 | |
52 | |
50 | |
48 |