Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217117

Most Recurring Value using Direct Query

$
0
0

I have  a  table with many rows (0.5 Million) thus import method is not an option for use with Power BI, in this table there is a column "Work Type" which has string type values(10 different values). I need to find the most recurring value in this column and display the name of the Work Type that recurrs most.

One more thing the dataa has to be filtered from the gui interface at the report level thus "Group By" is not an option.

So if the input table has following values for Work Type:

Work Type

COFFEE

DOOR

ELECTRICAL

FURNITURE

COFFEE

COFFEE

 

Then the output should be:

COFFEE

 

P.S. We need to use Direct Query Mode for the data

 

 

In Import mode I have taken count of work types in a new table and taken the max value of the count of each work type's recurrence.


Viewing all articles
Browse latest Browse all 217117

Trending Articles