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
Date of Action | Customer | Volume | Transaction | Assets |
13/01/2020 | Customer A | 44,499.2 | 1,148 | 60 |
5/03/2020 | Customer B | 2,186.1 | 16 | 1 |
5/06/2021 | Customer A | 145,243.4 | 508 | 106 |
26/08/2021 | Customer B | 631.6 | 16 | 4 |
5/04/2022 | Customer C | 1,423.1 | 32 | 12 |
26/06/2022 | Customer A | 758.7 | 15 | 2 |
31/03/2023 | Customer C | 62,440.1 | 214 | 58 |
4/08/2023 | Customer C | 2,245.7 | 17 | 1 |
15/08/2023 | Customer B | 220,562.9 | 854 | 63 |
28/11/2023 | Customer A | 1,669.1 | 29 | 8 |
6/03/2024 | Customer C | 42,202.8 | 58 | 12 |
23/05/2024 | Customer B | 26,053.9 | 103 | 29 |
25/07/2024 | Customer A | 15,330.9 | 287 | 51 |
This is a sample simplified dataset of the datasheet i'm using for my PowerBI dashboard.
I wish to learn how to create 3 visuals:
One card showing the overall average period of time (in months) for customer activities before ceasing
One card showing the average monthly customer volume
Solved! Go to Solution.
Hi,
PBi file attached.
what's the calculation logic? I don't think your request is just using average for the DAX.could you pls proivde the output?
Proud to be a Super User!
To clarify,
For visual 1. It should just show how long the average customer stays active for. As seen in the above data set, Customer C's activity spans from 05/4/22 to 06/3/24 which should show 23 months on the visual card. However, i would like the visual card number output to reflect the average activity duration for all customers. For my example: Customer A spans 54 months, B spans 50 months and C spans 23 months, so the visual card should show the average duration amount as (54+50+23)/3: 127 months
For visual 3: It's just to find the average customer ratio for transaction and assets. Eg) Customer A in the example dataset has 1987 total transactions and 227 assets. Therefore, the visual card should show 8.75 transactions per asset (because 1987 / 227). But like in visual 1 - i would like the total average transaction per asset for the overall customers.
pls try this
Proud to be a Super User!
Hey thats really helpful thanks -
For measure 1, my main data has a date heirachy which shows quarter, months, days etc as a dropdown. Does the measure still work for this?
regarding measure 2, is there way for the measure to calculate the overall average customer transaction per assets (rather than one customer)? Thanks
for measure 1, not very clear about your request, you can have a try to see if it works.
there is something wrong in measure 1, pls use averagex instead of sumx
for measure 2, is the similar calculation logic you used for measure 1?
Proud to be a Super User!
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 |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |