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! It's time to submit your entry. Live 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 ----------->>>>
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 69 | |
| 45 | |
| 36 | |
| 28 | |
| 23 |
| User | Count |
|---|---|
| 135 | |
| 121 | |
| 58 | |
| 40 | |
| 32 |