The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello,
I have a strange problem by dividing numbers. May someone can help. I have the following table (changed the numbers for an example):
For every Quarter I want a different calculation that works with no problem:
Solved! Go to Solution.
@Pikachu-Power , Try measure 2 like
Measure2 =
divide([Measure1],
SUMX(
Table,
SWITCH (
TRUE (),
Table[Quarter] = 1, , Table[Budget],
Table[Quarter] = 2, , Table[FCI],
Table[Quarter] = 3, , Table[FCII],
Table[Quarter] = 4, , Table[FCIII],
blank()
)
) )
@Pikachu-Power , Try measure 2 like
Measure2 =
divide([Measure1],
SUMX(
Table,
SWITCH (
TRUE (),
Table[Quarter] = 1, , Table[Budget],
Table[Quarter] = 2, , Table[FCI],
Table[Quarter] = 3, , Table[FCII],
Table[Quarter] = 4, , Table[FCIII],
blank()
)
) )
User | Count |
---|---|
64 | |
55 | |
54 | |
51 | |
31 |
User | Count |
---|---|
180 | |
88 | |
70 | |
46 | |
45 |