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 moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I have the following measures & columns:
Measures:
PYTD Hours = CALCULATE(sum(Table[Hours]), DATESBETWEEN([Date], 5/31/2017, NOW()))
MTD Hours = TOTALMTD(sum(Table[Hours]),[Date])
Columns:
MTD Variance Group =
if(Table[MTD Hours] > 100, ">20%",
if(Table[MTD Hours] >50,"10-20%",
if(Table[MTD Hours] > 20,"5-10%",
if(Table[MTD Hours] > 10, "0-5%",""))))
PYTD Variance Group =
if(Table[PYTD Hours] > 100, ">20%",
if(Table[PYTD Hours] >50,"10-20%",
if(Table[PYTD Hours] > 20,"5-10%",
if(Table[PYTD Hours] > 10, "0-5%",""))))
MTD Variance Group works, however I keep getting an error on PYTD Variance Group:
A circular dependency was detected: Table[PYTD Variance Group], Table[MTD Variance Group], Table[PYTD Variance Group]
Thoughts?
Solved! Go to Solution.
I realized that this issue is actually the result of a bigger issue related to not having a date table for earlier calculations. Thanks for everyones help!
Hi @teresadanna,
Please share (send) dummy data with expected results to figure out what you want to do.
Thank you.
Ninter
I realized that this issue is actually the result of a bigger issue related to not having a date table for earlier calculations. Thanks for everyones help!
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 23 | |
| 23 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 62 | |
| 36 | |
| 30 | |
| 25 | |
| 21 |