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
I am sure this is a newbie question.
I have trying to create a measure with the following DAX formula.
Submit Count = Divide(Count('Raw Data'[Repair Order]), 'Working Days'[Num of Days] ))
I do have a relationship between the two table, but the intellisence refuses to see the "Working Days" table.
Any ideas why?
Solved! Go to Solution.
You need to add a aggregation to Num of Days
Something Like: (Sum, Count, Min,Max, Values.etc)
Submit Count = Divide(Count('Raw Data'[Repair Order]), Sum('Working Days'[Num of Days] ))
Hey @gene7135,
Please share a screenshot of your data structure. There is probably something off in the relationship.
Best,
Alan
Does this help?
Sorry "Number of Days" Should read P1100.
You need to add a aggregation to Num of Days
Something Like: (Sum, Count, Min,Max, Values.etc)
Submit Count = Divide(Count('Raw Data'[Repair Order]), Sum('Working Days'[Num of Days] ))
Thanks. That's just what I realized.
The "Monday Date" in Working Days" is Date
The "Monday of Submit Date" was Date/Time, I changed it to Date.
I think I found the issue. At least it's does not give an error.
Here is the formula.
Submit Count = Divide(Count('Raw Data'[Repair Order]), SUM('Working Days'[P1100]))
Looks like a data type issue. What are the data types for the Date columns?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 130 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |