Forum Discussion
sidnir
2 years agoRegular Visitor
Multiplication based on a rate table
Hi all, I'm slightly new to this so I'll try to explain the problem as best as possible. My main table contains call data records for devices. Each row is a single data session. device ID, tota...
- 2 years ago
Try this measure
Total Device Rate1 per Month = VAR DistinctDevices = DISTINCTCOUNT('Call Data Table'[device ID]) VAR DeviceCountry = SELECTEDVALUE('Device Reference Table'[country]) VAR Rate1 = LOOKUPVALUE('Rate Card Table'[rate1], 'Rate Card Table'[country], DeviceCountry) RETURN DistinctDevices * Rate1
Ritaf1983
Super User
2 years agoHi sidnir
Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly