cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
324
Helper I
Helper I

Aggregate totals in histogram chart

I have a Tableau histogram I want to replicate in Power BI showing project number groupings. Projects receive a new project number each fiscal year, but there is an identifier column that groups these projects together. For example, a continuing project in 2019, 2020, and 2021 could have three distinct project numbers, but are grouped together by one indicator value.

 

I used this calculation in Tableau: 

{FIXED [Project Identifier]:COUNTD([Project Number])}

 

Does PowerBI support level-of-detail calculations like this? If so, how could I make a frequency bar chart like what I described above? Thank you.

3 REPLIES 3
v-yangliu-msft
Community Support
Community Support

Hi  @324 ,

I created some data:

vyangliumsft_0-1664244422318.png

Here are the steps you can follow:

1. In Power Query – check [project number] – [Split Column].

vyangliumsft_1-1664244422323.png

2. Select the new three columns – Unpivot Column.

vyangliumsft_2-1664244422327.png

Result:

vyangliumsft_3-1664244422329.png

3. Result:

vyangliumsft_4-1664244422336.png

If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem.

 

Best Regards,

Liu Yang

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

@v-yangliu-msft Here is some test data to make myself more clear.

 

Project NumberEnduring Project Identifier
123456324
234567324
345678324
456789476
567890476
678901495
789012496
890123202
901234202

Hi @v-yangliu-msft, thanks for much. That is close to what I want, but not quite. Would it be difficult to make it look like this? Sorry if my description was not clear.

image.png

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors