Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 ----------->>>>
User | Count |
---|---|
77 | |
76 | |
44 | |
31 | |
26 |
User | Count |
---|---|
97 | |
90 | |
52 | |
47 | |
46 |