This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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")
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 31 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 76 | |
| 61 | |
| 34 | |
| 30 | |
| 25 |