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.
Hi, i have been working with the next data model and have found a few troubles working with measures to show the total:
Data Model
mi calendar is this and i manage it with "accounting period"
Periods table
and finally i have the table with the measures, the first and the second one are a simple sum of rev column (rev table) named "[rev uf]" and collect (collect table) named "[collect uf]"and this two are the only ones that come from this two tables.
Measures
then i have all my measures:
- CxC_i = [Rev UF]-[Collect UF]
Solved! Go to Solution.
Hi @Anonymous ,
Measures are based on context so they are always calculated based on the filters, columns, slicers and so on that you have on your visualizations. In this case this type of calculation needs to have an aggregator measure you need to do something similar to this:
DSO TOTAL = IF(HASONEVALUE(Periodos[Accounting Period]), [DSO_Days], SUMX(Periodos,[DSO_Days]))
Then use this measure in the matrix. be aware that the table names and columns may needs changes.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Anonymous ,
Measures are based on context so they are always calculated based on the filters, columns, slicers and so on that you have on your visualizations. In this case this type of calculation needs to have an aggregator measure you need to do something similar to this:
DSO TOTAL = IF(HASONEVALUE(Periodos[Accounting Period]), [DSO_Days], SUMX(Periodos,[DSO_Days]))
Then use this measure in the matrix. be aware that the table names and columns may needs changes.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsUser | Count |
---|---|
65 | |
61 | |
60 | |
53 | |
30 |
User | Count |
---|---|
181 | |
88 | |
71 | |
48 | |
46 |