Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi!
I have a table that looks something like the one below after some transformations on power query.
Now, on a visualization, I need to get for each different company the most recent year with available data. For example, for Company_A it would be 2022 but for Company_B it would be 2021. How can I do this?
Financial KPI | Year | Company_Name | Value |
KPI_A | 2022 | Company_A | 158057000 |
KPI_A | 2022 | Company_B | null |
KPI_A | 2022 | Company_C | null |
KPI_A | 2021 | Company_A | 136341000 |
KPI_A | 2021 | Company_B | 46213000 |
KPI_A | 2021 | Company_C | 250199000 |
KPI_A | 2020 | Company_A | 127144000 |
KPI_A | 2020 | Company_B | 43475000 |
KPI_A | 2020 | Company_C | 222884000 |
KPI_A | 2019 | Company_A | 155900000 |
KPI_A | 2019 | Company_B | 55537000 |
KPI_A | 2019 | Company_C | 252633000 |
KPI_B | 2022 | Company_A | -1981000 |
KPI_B | 2022 | Company_B | null |
KPI_B | 2022 | Company_C | null |
KPI_B | 2021 | Company_A | 17937000 |
KPI_B | 2021 | Company_B | 888000 |
KPI_B | 2021 | Company_C | 15382000 |
KPI_B | 2020 | Company_A | -1279000 |
KPI_B | 2020 | Company_B | -8008000 |
KPI_B | 2020 | Company_C | 8867000 |
KPI_B | 2019 | Company_A | 47000 |
KPI_B | 2019 | Company_B | -141000 |
KPI_B | 2019 | Company_C | 13886000 |
Solved! Go to Solution.
hi @rcmv85
try to create a table visual with Company_Name column and a measure like:
hi @rcmv85
try to create a table visual with Company_Name column and a measure like:
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
105 | |
75 | |
43 | |
39 | |
32 |
User | Count |
---|---|
170 | |
90 | |
65 | |
46 | |
44 |