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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Anonymous
Not applicable

Don't duplicate rows in report view

Hi 

 

I am relatively new to PowerBi, and I've been struggling with some visuals. I hope someone can help me.

 

I have a model where I need to build a report table where I show campaign and item details. 

 

Each Campaign can have more than one ItemName. But my goal of granularity is to show ONLY ONE row for each unique ItemName. However, my ItemNames are being multiplied by the campaign duration.

 

E.g.

APPAREL campaign duration is two months (Starts in May and ends in June). APPAREL campaign has two ItemNames.

I want to show only one line for SOC_NAP and SOC_B-I

Same for CAT LITTER; show me only one row for each ID.

glausantos_0-1623123646826.png

This is an example of my model 

glausantos_1-1623123670061.png

https://www.dropbox.com/s/zxrsi3etsktw28a/Campaigns.pbix?dl=0

 

TIA,

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , power bi by default will group or take distinct of data, if you want to display line level data add index column to costitemdata and add that to visual

 

https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.