Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
ATULSBHATT
New Member

Two DAX Doubts | Removing Extra Repeats & Blanks

DAX Doubt 1: In the below screenshot, I don't want the extra duplicate to appear. That's My Main requirement in DAX.

Removing extra repeatsRemoving extra repeats

DAX Doubt 2: Same Measure When I view with respect to Models, I get Multiple Blanks (As shown in Below Screenshot), I want the blanks to Disappear Is there any method to remove those extra blanks or remove the duplicates as shown in the below pic?

Extra RepeatsExtra Repeats

Measure Formula: CR% = DIVIDE (CALCULATE( SUM(Sales[Qty]), 'Product'[Category] = "Headphones"), CALCULATE( SUM(Sales[Qty]), 'Product'[Category] = "Mobile"), BLANK())

 

Purchase Qty is a Column, Only CR% is the Measure.

1st Pic: I want to see the same view, but without the repeat column that I highlighted in yellow.

2nd Pic: Same Measure CR%, I am viewing in a Different view/granularity. But I don't want the Blank Repeat Rows As Highlighted in yellow. Both are Matrix Visuals in Power Bi, I am viewing the same Measure CR%, In Two Different Matrices[Two Different Views/Granularity]

1 ACCEPTED SOLUTION
v-jialluo-msft
Community Support
Community Support

Hi @ATULSBHATT ,

 

The first question can hide him by changing the line width.

(1) Turn off text wrap

vjialluomsft_0-1669369963779.png

 

(2) Hide columns

vjialluomsft_1-1669369963779.png

 

vjialluomsft_2-1669369963780.png

 

The second question is that the data cannot be reproduced here, and a sample file can be uploaded to further solve it.

 

Best Regards,

Gallen Luo

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-jialluo-msft
Community Support
Community Support

Hi @ATULSBHATT ,

 

The first question can hide him by changing the line width.

(1) Turn off text wrap

vjialluomsft_0-1669369963779.png

 

(2) Hide columns

vjialluomsft_1-1669369963779.png

 

vjialluomsft_2-1669369963780.png

 

The second question is that the data cannot be reproduced here, and a sample file can be uploaded to further solve it.

 

Best Regards,

Gallen Luo

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors