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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
shawn3474
Frequent Visitor

Having trouble recreating a visualization as a table.

 

I am basically trying to recreate this visulation as a new table so I can work with the data:

2018-04-11_10-52-44.png

 

Here is the problem I am having.   As you can see below, Small shows the number of total projects by team.  I am trying to pull that out to only show small projects for that team.  Below are the formulas I am using.  As you can see from the data above AppTech small should be 3 not 9 so while the formula does split things out by team it is when I try to add the filter that I run into problems.

 

Formula for column small:  Small = CALCULATE(DISTINCTCOUNT(Table1[Project_Name]))

 

Formula for Medium, Large, and XLarge as appropriate:  Medium = CALCULATE(DISTINCTCOUNT(Table1[Project_Name]),FILTER(Table1, [ProjectSizeValue] = "Med"))

 

TeamNamePointsofAvailabilitySmallMediumLargeXLarge
AppTech17935198
BackUp21835198
Cherwell0 35198
Cloud and Automation Architects241035198
Corptax SaaS291535198
DataCenter22935198
DBA512435198
DBA - TBS10635198
Desktop Services451835198
Monitoring462135198
Netnames SaaS4235198
Network783635198
PMO481935198
Service Desk10535198
SharePoint7235198
Storage321535198
TAS12535198
Telecom281435198
UE251235198
Unix642735198
Vendor/Contractor5235198
Web582635198
Windows863835198
1 ACCEPTED SOLUTION
MarkS
Resolver IV
Resolver IV

Hi @shawn3474,

Could you try

 Medium = CALCULATE(DISTINCTCOUNT(Table1[Project_Name]),[ProjectSizeValue] = "MED")

 

 

View solution in original post

4 REPLIES 4
MarkS
Resolver IV
Resolver IV

Hi @shawn3474,

Could you try

 Medium = CALCULATE(DISTINCTCOUNT(Table1[Project_Name]),[ProjectSizeValue] = "MED")

 

 

Mark...This worked.!!!!   Thank you very much for the help!  This created a circular dependency which I fixed by adjusting the table relationships.  I am good to go now.

v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@shawn3474,

If your table is as below, select ProjectSizeValue column, then click Pivot column in Query Editor to get your desired result.
1.PNG
2.PNG
3.PNG

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

This is a new table I created from another table.  The data is not stored that way so a pivot on this won't work but thank you for the suggestion.

Helpful resources

Announcements
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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.