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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi, i am new to power BI. i want to get the minimum and maximum "Date & Time" for the selected property address, can anyone help me with this please?
Solved! Go to Solution.
Hi @bikkalsharma ,
Try this as calculated columns:
Min DateTime =
CALCULATE ( MIN ( 'Table'[DateTime] ), ALLEXCEPT ( 'Table', 'Table'[Address] ) )
Max DateTime =
CALCULATE ( MAX ( 'Table'[DateTime] ), ALLEXCEPT ( 'Table', 'Table'[Address] ) )
Hi @bikkalsharma ,
Try this as calculated columns:
Min DateTime =
CALCULATE ( MIN ( 'Table'[DateTime] ), ALLEXCEPT ( 'Table', 'Table'[Address] ) )
Max DateTime =
CALCULATE ( MAX ( 'Table'[DateTime] ), ALLEXCEPT ( 'Table', 'Table'[Address] ) )
Hi danextian, Thank you very much mate, it worked. Can you please describe this code for me please?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 122 | |
| 110 | |
| 83 | |
| 69 | |
| 68 |