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 a measure of Percent of Total and works fine, but when I put that measure in a Line Chart dosent show me the correct values. I mean in 2015 the percent of some region's GDP in the total country's GDP was 25% and in the 2014 was 23% and 2013 was 21% and so on. I want these values in a Line Chart.
How can I do that?
Here is my pbix file if it will be necesary https://1drv.ms/u/s!AtTnrgPUQzQCgyIOQaCQ4q9M5tZW
Thanks for read me!
Solved! Go to Solution.
Hi, change your measure to this:
Aporte al Crecimiento Anual = IF ( OR ( [Variacion PIB Anual] = 0; ( CALCULATE ( [Variacion PIB Anual]; ALLSELECTED () ) ) = 0 ); 0; DIVIDE ( [Variacion PIB Anual]; CALCULATE ( [Variacion PIB Anual]; ALLEXCEPT ( Tiempo; Tiempo[Año] ); ALL ( 'Geográfico' ) ); 0 ) )
Hi, change your measure to this:
Aporte al Crecimiento Anual = IF ( OR ( [Variacion PIB Anual] = 0; ( CALCULATE ( [Variacion PIB Anual]; ALLSELECTED () ) ) = 0 ); 0; DIVIDE ( [Variacion PIB Anual]; CALCULATE ( [Variacion PIB Anual]; ALLEXCEPT ( Tiempo; Tiempo[Año] ); ALL ( 'Geográfico' ) ); 0 ) )
User | Count |
---|---|
68 | |
63 | |
59 | |
54 | |
28 |
User | Count |
---|---|
181 | |
82 | |
63 | |
47 | |
43 |