March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
@samue_an
Check the modified formula below. Also, have a look at the final line, could be
WC Total Traffic Vol Increase =
VAR DateRef =
DATE ( 2020, 3, 13 )
VAR Territory = "WC"
VAR Total_data_vol_ref_day =
CALCULATE (
SUM ( WFH_DATA_TRENDS[Total Data Volume in TB] ),
'WFH_DATA_TRENDS'[Time] = DateRef,
WFH_DATA_TRENDS[Territory] = Territory
)
VAR result =
CALCULATE (
SUM ( WFH_DATA_TRENDS[Total Data Volume in TB] ),
WFH_DATA_TRENDS[Territory] = "WC"
)
RETURN
DIVIDE ( result - Total_data_vol_ref_day, Total_data_vol_ref_day )
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi @samue_an !
Does all the participating variable in Final DIVIDE() expression are of Numeric data type INT/DECIMAL.
Also can you post some sample data. Also try to to wrap your WFH_DATA_TRENDS, WFH_DATA_TRENDS[Territory] = "WC" expression sinside FILTER() liek below;
VAR result =
CALCULATE (
SUM(WFH_DATA_TRENDS[Total Data Volume in TB]),
FILTER(WFH_DATA_TRENDS, WFH_DATA_TRENDS[Territory] = "WC")
)
See if this solves your issue. Also can you put a Date Slicer only to pick selected date. Seems like you have't connected your Fact table with Calendar / Date Dimension.
Regards,
Hasham
If I just return all the variables individually they return the correct values, but when I want to subtract the Total_data_vol_ref_day variable highlighted below:
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
133 | |
91 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
73 | |
68 |