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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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 ----------->>>>
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 57 | |
| 48 | |
| 35 | |
| 34 | |
| 21 |
| User | Count |
|---|---|
| 143 | |
| 122 | |
| 100 | |
| 80 | |
| 57 |