Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I work in a manufacturing setting.
I am trying to create a dashboard that will tell me how many units I've started that day.
Currently I have created a new column with the following.
VStart = IF(Query1[WRK_AREA]="CLES10000",IF(DAY(Query1[ARRIVAL_TS])=TODAY(),"True","False"),"False")
A started unit counts when it reaches the WRK-AREA "CLES10000".
I have validated that the data I want to retrieve is in my data set.
Any advice/help?
Solved! Go to Solution.
Hi @aarikc17,
Based on my understanding, you want to count how many records when [WRK-AREA] is "CLES10000" and [ARRIVAL_TS] equals today, right?
You can create a measure below:
Measure = CALCULATE(COUNTROWS('Query1'),FILTER(ALL(Query1),'Query1'[WRK_AREA]="CLES10000" && 'Query1'[ARRIVAL_TS]=TODAY()))
If above doesn't meet your requirement, please clarify which results you want based on the dummy data.
Best Regards,
Qiuyun Yu
Hi @aarikc17,
Based on my understanding, you want to count how many records when [WRK-AREA] is "CLES10000" and [ARRIVAL_TS] equals today, right?
You can create a measure below:
Measure = CALCULATE(COUNTROWS('Query1'),FILTER(ALL(Query1),'Query1'[WRK_AREA]="CLES10000" && 'Query1'[ARRIVAL_TS]=TODAY()))
If above doesn't meet your requirement, please clarify which results you want based on the dummy data.
Best Regards,
Qiuyun Yu
This calculate measure worked yesterday, but today the count is (blank).
CountAX seems to be working
How would you do this with a direct query?
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 68 | |
| 33 | |
| 32 | |
| 31 |