Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
105 | |
79 | |
69 | |
61 |
User | Count |
---|---|
143 | |
104 | |
103 | |
82 | |
70 |