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

Get 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

Reply
nataliesmiy1357
Helper IV
Helper IV

Pie Chart not filtering

Good afternoon!  I am working on a dataflow and I'm not sure why this won't work.... I have two tables: Company and EventType.

Company contains: CompanyName and Event Type contains: EventTypeName, PullarType, AssessmentType.

 

When I make a table with just the EventType columns it looks like this:

nataliesmiy1357_0-1656616164196.png

Then, when I add the CompanyName it looks like this:

nataliesmiy1357_1-1656616193214.png

 

I want to create a pie chart summing up the AssessmentType column (how many Bronze, Gold, Other, and Silvers).  

So, I make a pie chart and bring in the AssessmentType as the Legend and Values.  I also want to filter by ONE CompanyName (in this example I will use TMMWV).

 

nataliesmiy1357_3-1656616354003.png

When I do that though.... I don't get the right numbers.  I shold be getting 1 gold, 1 bronze, 1 other, and 3 silver.

 

Help!!  What am I doing wrong?

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

What result do you get when you drag this measure to the pie chart visual

Measure = distinctcount(Data[Pillartype])

Hope this helps. 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

nataliesmiy1357_0-1656687260020.png

This is what I get.... I need it to be the sum of the assessment types (so all of the bronze grouped together, all of the silver, all of the gold, and all of the other.)

Hi,

Share the link from where i can download your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
williamadams12
Resolver I
Resolver I

I would avoid using the page or visual based filters if at all possible, and instead focus on building a data model, connecting DIMs to FACTs and/or transforming your dataset and also writing DAX measures can render the data visual you need with slicers. 

 

 

How would I go about creating Measures to render the data visual I need?  Since I am using a dataflow, there are limited things I can do.  Thanks in advance!

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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