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 August 31st. Request your voucher.
Hi everyone!
I have created a measure to calculate a ratio, syntax: Ratio = DIVIDE([Value 1] , [Value 2],0)
Then I created a visual adding the years of my model and this measure.
I need to fix this measure in order to also calculate 0 for the years that have no values, so I can add it to a timeline that shows the evolution keeping the 0 values in the visual.
Please help!
Thanks!
Solved! Go to Solution.
DIVIDE(0 + [Value 1], [Value 2], 0)
Brilliant!
Thanks a lot!
User | Count |
---|---|
13 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
24 | |
14 | |
13 | |
8 | |
8 |