Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi all,
I have a situation and I'm assuming it is not possible with straight forward functionalities of PBI.
Please help me in solving this.
I have a data source, something like below.
Group | LEVEL1 | LEVEL2 | LEVEL3 | LEVEL4 | Value |
XYZ | Global | 8 | |||
XYZ | Global | APAC | 8 | ||
XYZ | Global | APAC | ENT | 3 | |
XYZ | Global | APAC | ENT | IHE | 0 |
XYZ | Global | APAC | ENT | M&E1 | 3 |
XYZ | Global | APAC | ENT | M&E2 | 0 |
XYZ | Global | APAC | ENT | M&E3 | 6 |
XYZ | Global | APAC | IMS | 14 | |
XYZ | Global | APAC | IMS | IMS1 | 14 |
XYZ | Global | APAC | IMS | IMS2 | 20 |
XYZ | Global | APAC | IMS | IMS3 | 0 |
XYZ | Global | APAC | IMS | IMS4 | 6 |
XYZ | Global | APAC | MED | 0 | |
XYZ | Global | APAC | MED | ADV | 0 |
XYZ | Global | APAC | MED | BCS | 0 |
XYZ | Global | APAC | MED | CAS | 0 |
XYZ | Global | APAC | MED | PUB | 0 |
XYZ | Global | NA | 0 | ||
XYZ | Global | NA | DTS | 0 | |
XYZ | Global | NA | DTS | ITS | 0 |
XYZ | Global | NA | WTS | 0 | |
XYZ | Global | NA | WTS | WTS2 | 0 |
ABC | Global | 4 | |||
ABC | Global | APAC | 4 | ||
ABC | Global | APAC | ENT | 2 | |
ABC | Global | APAC | ENT | IHE | 0 |
ABC | Global | APAC | ENT | M&E1 | 2 |
ABC | Global | APAC | ENT | M&E2 | 0 |
ABC | Global | APAC | ENT | M&E3 | 3 |
ABC | Global | APAC | IMS | 7 | |
ABC | Global | APAC | IMS | IMS1 | 7 |
ABC | Global | APAC | IMS | IMS2 | 10 |
ABC | Global | APAC | IMS | IMS3 | 0 |
ABC | Global | APAC | IMS | IMS4 | 3 |
ABC | Global | APAC | MED | 0 | |
ABC | Global | APAC | MED | ADV | 0 |
ABC | Global | APAC | MED | BCS | 0 |
ABC | Global | APAC | MED | CAS | 0 |
ABC | Global | APAC | MED | PUB | 0 |
ABC | Global | NA | 0 | ||
ABC | Global | NA | DTS | 0 | |
ABC | Global | NA | DTS | ITS | 0 |
ABC | Global | NA | WTS | 0 | |
ABC | Global | NA | WTS | WTS2 | 0 |
I have dragged them into Matrix Visual like this.
Currently it shows like the screenshot below.
I don't want to show the blank rows coming up in between and also don't want to show totals summed.
I would want to see like below.
Thanks in advance for helping.
@amitchandak @Greg_Deckler @Icey
Solved! Go to Solution.
Hi @mysasai
you can write a measure as follows:
then it would be better to update your measure as follows:
Hi @mysasai
you can write a measure as follows:
Thank you @Selva-Salimi, this worked and values are not suming up.
Any idea how would I hide blank rows highlighted in Red lines in screenshot.
then it would be better to update your measure as follows:
Hi @Selva-Salimi ,
I implemented the solution on a large dataset, adding a few other filter conditions such as ID and Date. However, after importing a few months of data, I encountered a resource error. It appears that the measure is comparing each row with the entire imported dataset, leading to performance issues.
I also tried using Direct Query. Although I only need to process 50,000 rows, the operation is comparing against millions of records in the database, resulting in the error: "Error fetching data for this visual in Power BI: 1,000,000 row limit error."
Is there a way to optimize the measure to first filter by a specific ID and then perform the remaining DAX operations on the filtered dataset?
Thank you for your assistance.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
87 | |
83 | |
82 | |
67 | |
49 |
User | Count |
---|---|
135 | |
111 | |
100 | |
65 | |
62 |