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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

How to do a kind of histogram

Hi all,

I have this graph and I want to mak a kind of histogram. 

 

image.png

 

I mean, I want the x axis agrupated by number of sPoliza with the same number os sTomado.

 

The result would be like this:

 

Screenshot 2019-07-24 at 16.39.14.png

 

Its a very simple group that I think it could be possible to do it without any dax or data transformation. 

 

Thanks for all

 

2 REPLIES 2
dax
Community Support
Community Support

Hi markoss92,

According to you description, I think your sample is like below

119.png

You could create a column like below

 

Column = CALCULATE(COUNT(Table1[id]),ALLEXCEPT(Table1,Table1[type]))

 

Then create  a measure and use this in chart

 

Measure 2 = CALCULATE(COUNT(Table1[type]),ALLEXCEPT(Table1,Table1[Column]))

120.png

Best Regards,

Zoe Zhi

 

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

 

Anonymous
Not applicable

Hi, It Works but now if I want to apply a page filter it doesn't apply.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.