The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I have a new fact table FactAnalysis that I want to find Logged time values to by IssueID and WorkType.
The data is comming from FactLog (has IssueID, Logged time and Work Type) which is connected to DimIssue.
The following simple formula does not seem to work
CALCULATE(
SUM(Factlog[LoggedTime]);
TREATAS(VALUES(FactAnalysis[IssueID]);DimIssue[IssueID]);
TREATAS(VALUES(FactAnalysis[WorkType]);FactLog[WorkType])
)
The formula gives same result for all Issue and Type combinations.
Any help is much appreciated.
Solved! Go to Solution.
@Anonymous ,
This issue should be related to the data model. Could you please share sample data and show the data structure/relationship of your data model?
Regards,
Jimmy Tao
@Anonymous ,
This issue should be related to the data model. Could you please share sample data and show the data structure/relationship of your data model?
Regards,
Jimmy Tao
Thank you for the response and for bringing forward the potential problem. The model is indeed a complicated one (10+ tables), unfortunately I cannot share it here. I think the solution here will be simplifying the model first.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
102 | |
82 | |
62 | |
56 |
User | Count |
---|---|
254 | |
119 | |
115 | |
99 | |
71 |