March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi all,
I've this table:
I'm only interested on save the LastDate from 'Fecha Compra' before 'Fecha inicio' for each 'Identificacion' and 'Medicina'. I mean, for this capture, the only one interests me to save is the one that has 'Fecha Compra' = 26/09/2016. How can i do this?
Thanks.
Solved! Go to Solution.
Hi @javierarandapa,
In your scenario, you can duplicate the query, add a custom column to decide whether the [FechaCompra] <= [Fecha inicio] then user Group By feature to return maximum date of [FechaCompra]. Then use Merge Queries to merge those two queries based on [FechaCompra]. For more information, check attached .pbix file.
Best Regards,
Qiuyun Yu
Hi @javierarandapa,
In your scenario, you can duplicate the query, add a custom column to decide whether the [FechaCompra] <= [Fecha inicio] then user Group By feature to return maximum date of [FechaCompra]. Then use Merge Queries to merge those two queries based on [FechaCompra]. For more information, check attached .pbix file.
Best Regards,
Qiuyun Yu
Thanks a lot.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
90 | |
89 | |
85 | |
73 | |
49 |
User | Count |
---|---|
167 | |
147 | |
92 | |
70 | |
58 |