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
Hello everyone!
I'm working on a dashboard where complaints in various centers are analyzed. I need an indicator that results from dividing complaints by the center's occupancy, all grouped by quarter. However, occupancy data is renewed quarterly, so to start analyzing complaint data without having the occupancy data yet, I need to obtain the data from the previous quarter. In this case, this post is made on April 18, the first quarter of 2024, and the occupancy data for this moment is blank, so I would need the data from the last quarter of 2023.
I have used this formula, but it returns the highest occupancy data, not the data from the last quarter:
Centro | QS | Ocupación | Goal Ocupacion | UltimaOcupacion | Año/cuatri | |
Centro 1 | 16 | 264 | 264 | 264 | 2023 1º Cuatrimestre | |
Centro 1 | 10 | 275 | 275 | 275 | 2023 2º Cuatrimestre | |
Centro 1 | 12 | 278 | 278 | 278 | 2023 3º Cuatrimestre | |
Centro 1 | 2 | 278 | 278 | 2024 1º Cuatrimestre | ||
Centro 2 | 18 | 203 | 203 | 203 | 2023 1º Cuatrimestre | |
Centro 2 | 9 | 203 | 203 | 203 | 2023 2º Cuatrimestre | |
Centro 2 | 9 | 194 | 194 | 194 | 2023 3º Cuatrimestre | |
Centro 2 | 9 | 194 | 203 | 2024 1º Cuatrimestre | ||
Centro 3 | 10 | 318 | 318 | 318 | 2023 1º Cuatrimestre | |
Centro 3 | 5 | 310 | 310 | 310 | 2023 2º Cuatrimestre | |
Centro 3 | 4 | 316 | 316 | 316 | 2023 3º Cuatrimestre | |
Centro 3 | 3 | 316 | 318 | 2024 1º Cuatrimestre | ||
Centro 4 | 4 | 288 | 288 | 288 | 2023 1º Cuatrimestre | |
Centro 4 | 7 | 309 | 309 | 309 | 2023 2º Cuatrimestre | |
Centro 4 | 4 | 304 | 304 | 304 | 2023 3º Cuatrimestre | |
Centro 4 | 7 | 304 | 309 | 2024 1º Cuatrimestre | ||
Centro 5 | 71 | 492 | 492 | 492 | 2023 1º Cuatrimestre | |
Centro 5 | 31 | 494 | 494 | 494 | 2023 2º Cuatrimestre | |
Centro 5 | 14 | 485 | 485 | 485 | 2023 3º Cuatrimestre | |
Centro 5 | 17 | 485 | 494 | 2024 1º Cuatrimestre |
@JosemaMz Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882
Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |