Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
I have a table and i want to display the count for the passengers by :
selected date and
1. By Traffic = ALL give me 10000
2. By Traffic = INS give me 8000
3. By Traffic = OUT give me 2000
| Traffic | Passenger |
| All | 10000 |
| INS | 8000 |
| OUT | 2000 |
Solved! Go to Solution.
Hi @HishamAT ,
Try below calculated measures:
ALL Traffic Count = CALCULATE(COUNT(Table[Passenger]), Table[Traffic] = "All")
INS Traffic Count = CALCULATE(COUNT(Table[Passenger]), Table[Traffic] = "INS")
OUT Traffic Count = CALCULATE(COUNT(Table[Passenger]), Table[Traffic] = "OUT")
Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!! Proud To Be a Super User !!! |
Hi @HishamAT ,
Try below calculated measures:
ALL Traffic Count = CALCULATE(COUNT(Table[Passenger]), Table[Traffic] = "All")
INS Traffic Count = CALCULATE(COUNT(Table[Passenger]), Table[Traffic] = "INS")
OUT Traffic Count = CALCULATE(COUNT(Table[Passenger]), Table[Traffic] = "OUT")
Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!! Proud To Be a Super User !!! |
I changed them to :
ALL Traffic Count = CALCULATE(SUM(Table[Passenger]), Table[Traffic] = "All")
INS Traffic Count = CALCULATE(SUM(Table[Passenger]), Table[Traffic] = "INS")
OUT Traffic Count = CALCULATE(SUM(Table[Passenger]), Table[Traffic] = "OUT")
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 44 | |
| 42 | |
| 40 | |
| 39 |