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 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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
216 | |
89 | |
82 | |
66 | |
57 |