Power BI - Distinct() function Last Updated : 16 Jan, 2023 Comments Improve Suggest changes Like Article Like Report Data Analysis Expressions (DAX) include many functions that return a table rather than a value. The table isn't displayed but is used to provide input to other functions. For example, you can retrieve a table and then count the distinct values in it or calculate dynamic sums across filtered tables or columns. Dataset used: The given data set contains information on the library supplies sold by a library manufacturer to different clients. All the relevant details like client name, client state name, product unit, etc. can be seen in it. Dataset Link: SLS Order Details_Client Master Distinct () function in Power BI It is a Table Manipulation function that returns a table or manipulates existing tables. Measures are used in some of the most common data analyses. New Measure Go to New measures, and switch to Table tools from there. Measure toolsTable toolsExample 1: The DAX DISTINCT returns a one-column table that contains the distinct values from the specified column. In other words, duplicate values are removed, and only unique values are returned. Syntax: DISTINCT (<column name>) Output: Below the table created to which the distinct query needs to be applied, it is the one-column table that contains the distinct values from the specified column or table expression. Earlier TableExample 1: The distinct query for the alphabet datatype. Formula: DISTINCT('SLS Order Details_Client Master'[Client Name]) Output: Example 2: The distinct query for the number data type column. Formula: DISTINCT('SLS Order Detials_Master'[Product Unit]) Output: Example 3: The distinct query for the date datatype column. Formula: DISTINCT('SLS Order Detials_Master'[Order Date (dd-mm-yyyy)]) Output: Comment More info M mdeis23qn Follow Improve Article Tags : Technical Scripter Power BI Technical Scripter 2022 Explore Power BI Tutorial | Learn Power BI 5 min read Introduction & Setup the Power BIWhat is Business Intelligence? 6 min read Power BI - Introduction 5 min read Power BI - Key Components 4 min read Power BI - Practical Applications 7 min read How to Install Power BI on Windows? 3 min read Power BI - Data Sources and its type 4 min read Differences Between Microsoft Power BI and SSRS 3 min read Power BI Free vs Power BI Pro vs Power BI Premium 4 min read The Power BI Query EditorPower BI - How to edit in Power BI App? 8 min read Power BI - DAX Date Functions 3 min read Power BI - How to Add Conditional Columns? 2 min read DAX Aggregate Functions in Power BI 5 min read Power BI - Excel Integration 3 min read PowerBI Dash Board VisualisationPower BI - Dashboard Introduction 5 min read Power BI - Dashboard Actions 8 min read Power BI - Create a Stacked Bar Chart 3 min read Power BI - How to add Reports to Dashboards? 3 min read Power BI - Report Level Filters 2 min read Power BI - How to Format Matrix? 4 min read Power BI - Slicer 5 min read Power BI - How to Format a Card? 5 min read Power BI - Format Multi-Row Card 6 min read Power BI - How to Create a Map? 3 min read Power BI - How to Format Map 6 min read Power BI - How to Create a Treemap? 3 min read Power BI - How to Format Tree Map? 6 min read Connect Power BI Desktop with Power BI Service 5 min read Power BI - Create a Table 2 min read Power BI - How to Format Table? 4 min read Power BI - Create a Stacked Column Chart 3 min read Power BI - How to Format Stacked Column Chart? 5 min read Power BI - Create 100% Stacked Column Chart 4 min read Power BI - Create 100% Stacked Bar Chart 3 min read Power BI - Format Stacked Bar Chart 4 min read Power BI - How to Create a Stacked Area Chart 3 min read Power BI - Format Area Chart 11 min read Power BI - Create a Radial Gauge Chart 4 min read Power BI - Key Performance Indicators (KPIs) Dashboards 3 min read Power BI _ Format KPIs ChartPower BI - Format Clustered Bar Chart 9 min read Power BI _ Format Clustered Bar ChartPower BI - How to Create a Waterfall Chart? 2 min read Power BI - Format Waterfall Chart 8 min read Power BI - Create a Filled Map 3 min read Power BI - Format Filled Map 6 min read Power BI - How to Create a Scatter Chart? 4 min read Power BI - Format Scatter Chart 8 min read Showing Trends with Line ChartsPower BI - Format Line Chart 10 min read Power BI - How to Create a Shape Map? 4 min read Power BI - Format Donut Chart 6 min read Power BI - Format Pie Chart 6 min read Power BI - Format Ribbon Chart 8 min read Power BI - Create a R Script Visual 4 min read Power BI - Format Line and Stacked Column Chart 11 min read Power BI - Format Line and Clustered Column Chart 11 min read DAX IntroductionPower BI - How to Create Calculated Columns? 3 min read Power BI- Functions 5 min read Power BI- DAX Window Function 5 min read Power BI - DAX Logical Functions 3 min read Power BI - DAX Information Functions 5 min read Power BI - DAX TEXT Functions 11 min read Power BI- DAX Index Function 4 min read Power BI - DAX Trigonometric Functions 3 min read Power BI - DAX COUPDAY Financial Function 5 min read Power BI - DAX Depreciation Functions 9 min read Power BI - Distinct() function 2 min read Power BI - DAX Math Functions 12 min read Power BI - DAX Counting Functions 3 min read Power BI- DAX Bitwise Functions 2 min read Power BI Interview Questions and Answers 15+ min read Like