Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Source data
| Name | DaysInPeriod(measure) |
| A | 92 |
| A | 92 |
| A | |
| B | |
| B | 92 |
| C | 92 |
Expected output: we need to group name based only if DaysInPeriod(measure) has value.
Here in this case count(name), where daysin period has value is 2 and it should be divided by daysIn Period/2
| Name | DaysInPeriod(measure) | Count | Output |
| A | 92 | 2 | 92/2=46 |
| A | 92 | 2 | 92/2=46 |
| A | |||
| B | |||
| B | 92 | 1 | 92/1=92 |
| C | 92 | 1 | 92/1=92 |
Help me out to get this
Hi,
try creating a measure to work out the count then another to calculate the divide. You can combine them after you know it's working if needed.
Thanks for response .
Here DaysInPeriod(measure) is the measure, we can't apply count for measure right?
Ah okay, for the first measure try:
Its not working out.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!