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
koorosh
Post Partisan
Post Partisan

A list table with just one column

Hello Experts, How can I get a list report of table "Top Partners" that shows just the name of partners (that have measure = 1 value).

 

https://1drv.ms/u/s!Apx6gIVuSBlfgQJgccOXNHZyeUx9?e=A3zpAL

 

 

1 ACCEPTED SOLUTION

Please let me check it.

Thanks

View solution in original post

4 REPLIES 4
camargos88
Community Champion
Community Champion

Hi @koorosh ,

 

Create a measure like this:

_All CourseNames =
VAR _AllCourseNames = CALCULATE(DISTINCTCOUNT(Sheet1[Course Name]), ALL(Sheet1))
VAR _PartnerCourseName = CALCULATE(DISTINCTCOUNT(Sheet1[Course Name]))
RETURN IF(_AllCourseNames = _PartnerCourseName, 1, 0)
 
and filter the visual:
Capture.PNG


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



Please let me check it.

Thanks

Could you please send me an explanation for the measure?

 

@koorosh ,

 

_All CourseNames =
VAR _AllCourseNames = CALCULATE(DISTINCTCOUNT(Sheet1[Course Name]), ALL(Sheet1)) 
VAR _PartnerCourseName = CALCULATE(DISTINCTCOUNT(Sheet1[Course Name]))
RETURN IF(_AllCourseNames = _PartnerCourseName, 1, 0)
 
CALCULATE(DISTINCTCOUNT(Sheet1[Course Name]), ALL(Sheet1)) -> gets the total number os coursers
CALCULATE(DISTINCTCOUNT(Sheet1[Course Name])) -> get the number of coursers by partner, once the partner column is on the table visual.
 
the if only compares if it's the same number to filter on the visual.


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



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.