Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Solved! Go to Solution.
Hi @floralau
Download example PBIX file with the following code
TOPN returns a table which is why you are getting the error about 'multiple columns'. I guess you are trying to create a measure, but a measure must be a single value, it can't hold a table.
To count the number of different strings use this measure
Number of Diff Strings = DISTINCTCOUNT('Successful Rate'[Channel])
Regards
Phil
Proud to be a Super User!
Hi @floralau
Download example PBIX file with the following code
TOPN returns a table which is why you are getting the error about 'multiple columns'. I guess you are trying to create a measure, but a measure must be a single value, it can't hold a table.
To count the number of different strings use this measure
Number of Diff Strings = DISTINCTCOUNT('Successful Rate'[Channel])
Regards
Phil
Proud to be a Super User!
Thanks so much for your help!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.