Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
How to write DAX code for the same
* Flag_yes_no - Nvarchar value
Select Count(*), Flag_yes_no From table
Group by Flag_yes_no
@Parihar1980 wrote:
How to write DAX code for the same
* Flag_yes_no - Nvarchar value
Select Count(*), Flag_yes_no From table
Group by Flag_yes_no
You don't have to write any DAX, it could be as simple as below.
I am using full table (all column ) for my model and there are other calculated column also using apart from this. So how can I take only Count(*) with Group by Column name only .
there should be some funcation for DAX isn't it ? plz help
-----------------[Status of Initial Report] Pie Chart -------------
Select Count(([InitialReportSubmitted])) ,[InitialReportSubmitted] [Status]
FROM SIR.DWH.[Fact_NMAReportingStatisticsForSQPStates]
Group by [InitialReportSubmitted]
Expected result ----------->>>>